Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dp_ec.c127 const uint8_t *tbs, size_t tbslen) { in pkey_ec_sign() argument
146 if (!ECDSA_sign(type, tbs, tbslen, sig, &sltmp, ec)) { in pkey_ec_sign()
154 const uint8_t *tbs, size_t tbslen) { in pkey_ec_verify() argument
164 return ECDSA_verify(type, tbs, tbslen, sig, siglen, ec); in pkey_ec_verify()
Dp_rsa.c166 const uint8_t *tbs, size_t tbslen) { in pkey_rsa_sign() argument
184 if (tbslen != EVP_MD_size(rctx->md)) { in pkey_rsa_sign()
196 if (!RSA_sign(EVP_MD_type(rctx->md), tbs, tbslen, sig, &out_len, rsa)) { in pkey_rsa_sign()
217 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign()
222 size_t tbslen) { in pkey_rsa_verify() argument
231 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify()
251 rslen != tbslen || in pkey_rsa_verify()
Dinternal.h264 const unsigned char *tbs, size_t tbslen);
268 const unsigned char *tbs, size_t tbslen);