/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
p_verify.c | 72 EVP_PKEY_CTX *pkctx = NULL; local 84 pkctx = EVP_PKEY_CTX_new(pkey, NULL); 85 if (!pkctx) 87 if (EVP_PKEY_verify_init(pkctx) <= 0) 89 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0) 91 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); 93 EVP_PKEY_CTX_free(pkctx);
|
p_sign.c | 85 EVP_PKEY_CTX *pkctx = NULL; local 99 pkctx = EVP_PKEY_CTX_new(pkey, NULL); 100 if (!pkctx) 102 if (EVP_PKEY_sign_init(pkctx) <= 0) 104 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0) 106 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) 111 EVP_PKEY_CTX_free(pkctx);
|
/external/openssl/crypto/evp/ |
p_verify.c | 72 EVP_PKEY_CTX *pkctx = NULL; local 84 pkctx = EVP_PKEY_CTX_new(pkey, NULL); 85 if (!pkctx) 87 if (EVP_PKEY_verify_init(pkctx) <= 0) 89 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0) 91 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); 93 EVP_PKEY_CTX_free(pkctx);
|
p_sign.c | 85 EVP_PKEY_CTX *pkctx = NULL; local 99 pkctx = EVP_PKEY_CTX_new(pkey, NULL); 100 if (!pkctx) 102 if (EVP_PKEY_sign_init(pkctx) <= 0) 104 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0) 106 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) 111 EVP_PKEY_CTX_free(pkctx);
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_ameth.c | 469 EVP_PKEY_CTX *pkctx; local 546 if (!EVP_DigestVerifyInit(ctx, &pkctx, md, NULL, pkey)) 549 if (EVP_PKEY_CTX_set_rsa_padding(pkctx, RSA_PKCS1_PSS_PADDING) <= 0) 552 if (EVP_PKEY_CTX_set_rsa_pss_saltlen(pkctx, saltlen) <= 0) 555 if (EVP_PKEY_CTX_set_rsa_mgf1_md(pkctx, mgf1md) <= 0) 572 EVP_PKEY_CTX *pkctx = ctx->pctx; local 573 if (EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode) <= 0) 583 EVP_PKEY *pk = EVP_PKEY_CTX_get0_pkey(pkctx); 586 if (EVP_PKEY_CTX_get_rsa_mgf1_md(pkctx, &mgf1md) <= 0) 588 if (!EVP_PKEY_CTX_get_rsa_pss_saltlen(pkctx, &saltlen) [all...] |
/external/openssl/crypto/rsa/ |
rsa_ameth.c | 469 EVP_PKEY_CTX *pkctx; local 546 if (!EVP_DigestVerifyInit(ctx, &pkctx, md, NULL, pkey)) 549 if (EVP_PKEY_CTX_set_rsa_padding(pkctx, RSA_PKCS1_PSS_PADDING) <= 0) 552 if (EVP_PKEY_CTX_set_rsa_pss_saltlen(pkctx, saltlen) <= 0) 555 if (EVP_PKEY_CTX_set_rsa_mgf1_md(pkctx, mgf1md) <= 0) 572 EVP_PKEY_CTX *pkctx = ctx->pctx; local 573 if (EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode) <= 0) 583 EVP_PKEY *pk = EVP_PKEY_CTX_get0_pkey(pkctx); 586 if (EVP_PKEY_CTX_get_rsa_mgf1_md(pkctx, &mgf1md) <= 0) 588 if (!EVP_PKEY_CTX_get_rsa_pss_saltlen(pkctx, &saltlen) [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
req.c | 1776 EVP_PKEY_CTX *pkctx = NULL; local [all...] |
/external/openssl/apps/ |
req.c | 1776 EVP_PKEY_CTX *pkctx = NULL; local [all...] |