Home
last modified time | relevance | path

Searched refs:pklen (Results 1 – 12 of 12) sorted by relevance

/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()
/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()
/openssl/crypto/dh/
H A Ddh_backend.c185 int pklen, pmlen; in ossl_dh_key_from_pkcs8() local
194 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dh_key_from_pkcs8()
201 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()
/openssl/crypto/pem/
H A Dpvkfmt.c1016 int outlen = 24, pklen; in i2b_PVK() local
1026 pklen = do_i2b(NULL, pk, 0); in i2b_PVK()
1027 if (pklen < 0) in i2b_PVK()
1029 outlen += pklen; in i2b_PVK()
1054 write_ledword(&p, pklen); in i2b_PVK()
1088 if (!EVP_EncryptUpdate(cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
/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.c822 int pklen; in ossl_ec_key_from_pkcs8() local
826 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8()
833 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in ossl_ec_key_from_pkcs8()
H A Decx_meth.c57 int pklen; in ecx_pub_decode() local
62 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode()
64 ecx = ossl_ecx_key_op(palg, p, pklen, pkey->ameth->pkey_id, in ecx_pub_decode()
/openssl/crypto/rsa/
H A Drsa_backend.c681 int pklen; in ossl_rsa_key_from_pkcs8() local
684 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &alg, p8inf)) in ossl_rsa_key_from_pkcs8()
686 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()
/openssl/test/
H A Dectest.c3088 int pklen, ret = 0; in ec_d2i_publickey_test() local
3094 if (!TEST_int_gt(pklen = i2d_PublicKey(gen_key, &pubkey_enc), 0)) in ec_d2i_publickey_test()
3108 &pk_enc, pklen))) in ec_d2i_publickey_test()

Completed in 56 milliseconds