/openssl/crypto/x509/ |
H A D | v3_skid.c | 59 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 D | dsa_backend.c | 127 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 D | dsa_ameth.c | 32 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 D | dh_backend.c | 185 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 D | dh_ameth.c | 63 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 D | pvkfmt.c | 1016 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 D | ec_ameth.c | 103 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 D | ec_backend.c | 815 int pklen; in ossl_ec_key_from_pkcs8() local 819 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_ec_key_from_pkcs8() 826 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in ossl_ec_key_from_pkcs8()
|
H A D | ecx_meth.c | 57 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 D | rsa_backend.c | 687 int pklen; in ossl_rsa_key_from_pkcs8() local 690 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &alg, p8inf)) in ossl_rsa_key_from_pkcs8() 692 rsa = d2i_RSAPrivateKey(NULL, &p, pklen); in ossl_rsa_key_from_pkcs8()
|
H A D | rsa_ameth.c | 79 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 D | ectest.c | 3088 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()
|