Home
last modified time | relevance | path

Searched refs:pklen (Results 1 - 23 of 23) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_skid.c59 int pklen; in ossl_x509_pubkey_hash() local
79 X509_PUBKEY_get0_param(NULL, &pk, &pklen, NULL, pubkey); in ossl_x509_pubkey_hash()
80 if (EVP_Digest(pk, pklen, pkey_dig, &diglen, md, NULL) in ossl_x509_pubkey_hash()
/third_party/openssl/crypto/x509/
H A Dv3_skid.c59 int pklen; in ossl_x509_pubkey_hash() local
79 X509_PUBKEY_get0_param(NULL, &pk, &pklen, NULL, pubkey); in ossl_x509_pubkey_hash()
80 if (EVP_Digest(pk, pklen, pkey_dig, &diglen, md, NULL) in ossl_x509_pubkey_hash()
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_backend.c127 int pklen, pmlen; in ossl_dsa_key_from_pkcs8() local
139 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dsa_key_from_pkcs8()
143 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in ossl_dsa_key_from_pkcs8()
H A Ddsa_ameth.c32 int pklen, pmlen; in dsa_pub_decode() local
41 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode()
65 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dsa_pub_decode()
/third_party/openssl/crypto/dsa/
H A Ddsa_backend.c127 int pklen, pmlen; in ossl_dsa_key_from_pkcs8() local
139 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dsa_key_from_pkcs8()
143 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in ossl_dsa_key_from_pkcs8()
H A Ddsa_ameth.c32 int pklen, pmlen; in dsa_pub_decode() local
41 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode()
65 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dsa_pub_decode()
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_backend.c191 int pklen, pmlen; in ossl_dh_key_from_pkcs8() local
200 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dh_key_from_pkcs8()
207 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in ossl_dh_key_from_pkcs8()
H A Ddh_ameth.c63 int pklen, pmlen; in dh_pub_decode() local
72 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode()
90 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dh_pub_decode()
/third_party/openssl/crypto/dh/
H A Ddh_backend.c191 int pklen, pmlen; in ossl_dh_key_from_pkcs8() local
200 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dh_key_from_pkcs8()
207 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in ossl_dh_key_from_pkcs8()
H A Ddh_ameth.c63 int pklen, pmlen; in dh_pub_decode() local
72 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode()
90 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dh_pub_decode()
/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpvkfmt.c1003 int outlen = 24, pklen; in i2b_PVK() local
1013 pklen = do_i2b(NULL, pk, 0); in i2b_PVK()
1014 if (pklen < 0) in i2b_PVK()
1016 outlen += pklen; in i2b_PVK()
1043 write_ledword(&p, pklen); in i2b_PVK()
1077 if (!EVP_EncryptUpdate(cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
/third_party/openssl/crypto/pem/
H A Dpvkfmt.c1003 int outlen = 24, pklen; in i2b_PVK() local
1013 pklen = do_i2b(NULL, pk, 0); in i2b_PVK()
1014 if (pklen < 0) in i2b_PVK()
1016 outlen += pklen; in i2b_PVK()
1043 write_ledword(&p, pklen); in i2b_PVK()
1077 if (!EVP_EncryptUpdate(cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_backend.c553 int pklen; in ossl_rsa_key_from_pkcs8() local
556 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &alg, p8inf)) in ossl_rsa_key_from_pkcs8()
558 rsa = d2i_RSAPrivateKey(NULL, &p, pklen); in ossl_rsa_key_from_pkcs8()
H A Drsa_ameth.c79 int pklen; in rsa_pub_decode() local
83 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &alg, pubkey)) in rsa_pub_decode()
85 if ((rsa = d2i_RSAPublicKey(NULL, &p, pklen)) == NULL) in rsa_pub_decode()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_ameth.c103 int pklen; in eckey_pub_decode() local
110 || !X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode()
118 if (!o2i_ECPublicKey(&eckey, &p, pklen)) { in eckey_pub_decode()
H A Dec_backend.c821 int pklen; in ossl_ec_key_from_pkcs8() local
825 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8()
832 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in ossl_ec_key_from_pkcs8()
H A Decx_meth.c59 int pklen; in ecx_pub_decode() local
64 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode()
66 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
/third_party/openssl/crypto/ec/
H A Dec_ameth.c103 int pklen; in eckey_pub_decode() local
110 || !X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode()
118 if (!o2i_ECPublicKey(&eckey, &p, pklen)) { in eckey_pub_decode()
H A Dec_backend.c821 int pklen; in ossl_ec_key_from_pkcs8() local
825 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8()
832 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in ossl_ec_key_from_pkcs8()
H A Decx_meth.c59 int pklen; in ecx_pub_decode() local
64 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode()
66 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
/third_party/openssl/crypto/rsa/
H A Drsa_backend.c565 int pklen; in ossl_rsa_key_from_pkcs8() local
568 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &alg, p8inf)) in ossl_rsa_key_from_pkcs8()
570 rsa = d2i_RSAPrivateKey(NULL, &p, pklen); in ossl_rsa_key_from_pkcs8()
H A Drsa_ameth.c76 int pklen; in rsa_pub_decode() local
80 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &alg, pubkey)) in rsa_pub_decode()
82 if ((rsa = d2i_RSAPublicKey(NULL, &p, pklen)) == NULL) in rsa_pub_decode()
/third_party/openssl/test/
H A Dectest.c2976 int pklen, ret = 0; in ec_d2i_publickey_test() local
2982 if (!TEST_int_gt(pklen = i2d_PublicKey(gen_key, &pubkey_enc), 0)) in ec_d2i_publickey_test()
2996 &pk_enc, pklen))) in ec_d2i_publickey_test()

Completed in 28 milliseconds