/external/openssl/crypto/rsa/ |
D | rsa_pmeth.c | 186 const unsigned char *tbs, size_t tbslen) in pkey_rsa_sign() argument 203 if (tbslen != (size_t)EVP_MD_size(rctx->md)) in pkey_rsa_sign() 213 ret = FIPS_rsa_sign_digest(rsa, tbs, tbslen, rctx->md, in pkey_rsa_sign() 232 tbs, tbslen, sig, &sltmp, rsa); in pkey_rsa_sign() 242 memcpy(rctx->tbuf, tbs, tbslen); in pkey_rsa_sign() 243 rctx->tbuf[tbslen] = in pkey_rsa_sign() 245 ret = RSA_private_encrypt(tbslen + 1, rctx->tbuf, in pkey_rsa_sign() 252 tbs, tbslen, sig, &sltmp, rsa); in pkey_rsa_sign() 273 ret = RSA_private_encrypt(tbslen, tbs, sig, ctx->pkey->pkey.rsa, in pkey_rsa_sign() 341 const unsigned char *tbs, size_t tbslen) in pkey_rsa_verify() argument [all …]
|
/external/openssl/crypto/dsa/ |
D | dsa_pmeth.c | 121 const unsigned char *tbs, size_t tbslen) in pkey_dsa_sign() argument 133 ret = DSA_sign(type, tbs, tbslen, sig, &sltmp, dsa); in pkey_dsa_sign() 143 const unsigned char *tbs, size_t tbslen) in pkey_dsa_verify() argument 154 ret = DSA_verify(type, tbs, tbslen, sig, siglen, dsa); in pkey_dsa_verify()
|
/external/openssl/crypto/ec/ |
D | ec_pmeth.c | 120 const unsigned char *tbs, size_t tbslen) in pkey_ec_sign() argument 144 ret = ECDSA_sign(type, tbs, tbslen, sig, &sltmp, ec); in pkey_ec_sign() 154 const unsigned char *tbs, size_t tbslen) in pkey_ec_verify() argument 165 ret = ECDSA_verify(type, tbs, tbslen, sig, siglen, ec); in pkey_ec_verify()
|
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
D | p_rsa.c | 170 const uint8_t *tbs, size_t tbslen) { in pkey_rsa_sign() argument 188 if (tbslen != EVP_MD_size(rctx->md)) { in pkey_rsa_sign() 200 if (!RSA_sign(EVP_MD_type(rctx->md), tbs, tbslen, sig, &out_len, rsa)) { in pkey_rsa_sign() 221 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign() 226 size_t tbslen) { in pkey_rsa_verify() argument 235 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify() 255 rslen != tbslen || in pkey_rsa_verify()
|
D | p_ec.c | 166 const uint8_t *tbs, size_t tbslen) { in pkey_ec_sign() argument 185 if (!ECDSA_sign(type, tbs, tbslen, sig, &sltmp, ec)) { in pkey_ec_sign() 193 const uint8_t *tbs, size_t tbslen) { in pkey_ec_verify() argument 203 return ECDSA_verify(type, tbs, tbslen, sig, siglen, ec); in pkey_ec_verify()
|
D | internal.h | 198 const unsigned char *tbs, size_t tbslen); 202 const unsigned char *tbs, size_t tbslen);
|
/external/openssl/crypto/evp/ |
D | pmeth_fn.c | 102 const unsigned char *tbs, size_t tbslen) in EVP_PKEY_sign() argument 116 return ctx->pmeth->sign(ctx, sig, siglen, tbs, tbslen); in EVP_PKEY_sign() 139 const unsigned char *tbs, size_t tbslen) in EVP_PKEY_verify() argument 152 return ctx->pmeth->verify(ctx, sig, siglen, tbs, tbslen); in EVP_PKEY_verify()
|
D | pmeth_lib.c | 518 const unsigned char *tbs, size_t tbslen)) in EVP_PKEY_meth_set_sign() argument 527 const unsigned char *tbs, size_t tbslen)) in EVP_PKEY_meth_set_verify() argument 537 const unsigned char *tbs, size_t tbslen)) in EVP_PKEY_meth_set_verify_recover() argument
|
D | evp_locl.h | 308 const unsigned char *tbs, size_t tbslen); 313 const unsigned char *tbs, size_t tbslen);
|
D | evp.h | 1150 const unsigned char *tbs, size_t tbslen); 1154 const unsigned char *tbs, size_t tbslen); 1204 const unsigned char *tbs, size_t tbslen)); 1209 const unsigned char *tbs, size_t tbslen)); 1215 const unsigned char *tbs, size_t tbslen));
|
/external/openssl/include/openssl/ |
D | evp.h | 1150 const unsigned char *tbs, size_t tbslen); 1154 const unsigned char *tbs, size_t tbslen); 1204 const unsigned char *tbs, size_t tbslen)); 1209 const unsigned char *tbs, size_t tbslen)); 1215 const unsigned char *tbs, size_t tbslen));
|