Home
last modified time | relevance | path

Searched refs:EVP_PKEY_size (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_rsa.c162 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
173 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign()
230 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify()
267 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt()
299 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt()
Dsign.c84 size_t sig_len = EVP_PKEY_size(pkey);
Devp.c180 int EVP_PKEY_size(const EVP_PKEY *pkey) { in EVP_PKEY_size() function
Dp_rsa_asn1.c544 saltlen = EVP_PKEY_size(pk) - EVP_MD_size(sigmd) - 2; in rsa_ctx_to_pss()
/external/chromium_org/net/android/
Dkeystore_unittest.cc497 EXPECT_EQ(EVP_PKEY_size(openssl_key.get()), in TEST()
498 EVP_PKEY_size(wrapper_key.get())); in TEST()
550 EXPECT_EQ(EVP_PKEY_size(openssl_key.get()), in TEST()
551 EVP_PKEY_size(wrapper_key.get())); in TEST()
/external/openssl/crypto/pem/
Dpem_sign.c85 m=(unsigned char *)OPENSSL_malloc(EVP_PKEY_size(pkey)+2); in PEM_SignFinal()
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx509type.c122 if (EVP_PKEY_size(pk) <= 1024/8)/* /8 because it's 1024 bits we look in X509_certificate_type()
Da_sign.c118 outll=outl=EVP_PKEY_size(pkey);
240 outll=outl=EVP_PKEY_size(pkey); in ASN1_item_sign_ctx()
/external/openssl/crypto/x509/
Dx509type.c125 if (EVP_PKEY_size(pk) <= 1024/8)/* /8 because it's 1024 bits we look in X509_certificate_type()
/external/chromium_org/net/cert/
Dx509_certificate_openssl.cc373 *size_bits = EVP_PKEY_size(key) * 8; in GetPublicKeyInfo()
377 *size_bits = EVP_PKEY_size(key) * 8; in GetPublicKeyInfo()
385 *size_bits = EVP_PKEY_size(key) * 8; in GetPublicKeyInfo()
Dct_log_verifier_openssl.cc90 EVP_PKEY_size(public_key_) < 256) { in Init()
/external/openssl/crypto/asn1/
Da_sign.c176 outll=outl=EVP_PKEY_size(pkey); in ASN1_sign()
301 outll=outl=EVP_PKEY_size(pkey); in ASN1_item_sign_ctx()
/external/openssl/crypto/evp/
Dp_sign.c97 size_t sltmp = (size_t)EVP_PKEY_size(pkey); in EVP_SignFinal()
Dpmeth_fn.c69 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \
Dp_lib.c92 int EVP_PKEY_size(EVP_PKEY *pkey) in EVP_PKEY_size() function
/external/chromium_org/crypto/
Dsignature_creator_openssl.cc97 signature->resize(EVP_PKEY_size(key)); in Final()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSignature.java186 byte[] buffer = new byte[NativeCrypto.EVP_PKEY_size(key.getPkeyContext())]; in engineSign()
DNativeCrypto.java98 public static native int EVP_PKEY_size(long pkey); in EVP_PKEY_size() method in NativeCrypto
/external/openssl/apps/
Dpkeyutl.c458 *pkeysize = EVP_PKEY_size(pkey); in init_ctx()
Ddgst.c472 siglen = EVP_PKEY_size(sigkey); in MAIN()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Devp.h118 OPENSSL_EXPORT int EVP_PKEY_size(const EVP_PKEY *pkey);
/external/openssl/crypto/rsa/
Drsa_pmeth.c141 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
Drsa_ameth.c594 saltlen = EVP_PKEY_size(pk) - EVP_MD_size(sigmd) - 2; in rsa_item_sign()
/external/openssl/ssl/
Dd1_srvr.c481 …&& EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->t… in IMPLEMENT_dtls1_meth_func()
1321 kn=EVP_PKEY_size(pkey); in dtls1_send_server_key_exchange()
/external/openssl/crypto/cms/
Dcms_sd.c661 sig = OPENSSL_malloc(EVP_PKEY_size(si->pkey)); in cms_SignerInfo_content_sign()

12