Home
last modified time | relevance | path

Searched refs:tbslen (Results 1 – 11 of 11) sorted by relevance

/external/openssl/crypto/rsa/
Drsa_pmeth.c186 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/
Ddsa_pmeth.c121 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/
Dec_pmeth.c120 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/
Dp_rsa.c170 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()
Dp_ec.c166 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()
Dinternal.h198 const unsigned char *tbs, size_t tbslen);
202 const unsigned char *tbs, size_t tbslen);
/external/openssl/crypto/evp/
Dpmeth_fn.c102 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()
Dpmeth_lib.c518 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
Devp_locl.h308 const unsigned char *tbs, size_t tbslen);
313 const unsigned char *tbs, size_t tbslen);
Devp.h1150 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/
Devp.h1150 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));