Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dp_ec.c118 const uint8_t *tbs, size_t tbslen) { in pkey_ec_sign() argument
130 if (!ECDSA_sign(0, tbs, tbslen, sig, &sltmp, ec)) { in pkey_ec_sign()
138 const uint8_t *tbs, size_t tbslen) { in pkey_ec_verify() argument
139 return ECDSA_verify(0, tbs, tbslen, sig, siglen, ctx->pkey->pkey.ec); in pkey_ec_verify()
Dp_rsa.c167 const uint8_t *tbs, size_t tbslen) { in pkey_rsa_sign() argument
185 if (tbslen != EVP_MD_size(rctx->md)) { in pkey_rsa_sign()
197 if (!RSA_sign(EVP_MD_type(rctx->md), tbs, tbslen, sig, &out_len, rsa)) { in pkey_rsa_sign()
218 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign()
223 size_t tbslen) { in pkey_rsa_verify() argument
232 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify()
235 if (tbslen != EVP_MD_size(rctx->md)) { in pkey_rsa_verify()
257 rslen != tbslen || in pkey_rsa_verify()
Dinternal.h206 const uint8_t *tbs, size_t tbslen);
209 const uint8_t *tbs, size_t tbslen);