Searched refs:tbslen (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/evp/ |
D | p_ed25519.c | 28 size_t tbslen) { in pkey_ed25519_sign_message() argument 40 return ED25519_sign(sig, tbs, tbslen, key->key.priv); in pkey_ed25519_sign_message() 45 size_t tbslen) { in pkey_ed25519_verify_message() argument 48 !ED25519_verify(tbs, tbslen, sig, key->key.pub.value)) { in pkey_ed25519_verify_message()
|
D | internal.h | 202 const uint8_t *tbs, size_t tbslen); 205 const uint8_t *tbs, size_t tbslen); 208 const uint8_t *tbs, size_t tbslen); 211 const uint8_t *tbs, size_t tbslen);
|
D | p_ec.c | 120 const uint8_t *tbs, size_t tbslen) { in pkey_ec_sign() argument 132 if (!ECDSA_sign(0, tbs, tbslen, sig, &sltmp, ec)) { in pkey_ec_sign() 140 const uint8_t *tbs, size_t tbslen) { in pkey_ec_verify() argument 141 return ECDSA_verify(0, tbs, tbslen, sig, siglen, ctx->pkey->pkey.ec); in pkey_ec_verify()
|
D | p_rsa.c | 172 const uint8_t *tbs, size_t tbslen) { in pkey_rsa_sign() argument 191 if (!RSA_sign(EVP_MD_type(rctx->md), tbs, tbslen, sig, &out_len, rsa)) { in pkey_rsa_sign() 198 return RSA_sign_pss_mgf1(rsa, siglen, sig, *siglen, tbs, tbslen, in pkey_rsa_sign() 206 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign() 211 size_t tbslen) { in pkey_rsa_verify() argument 218 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify() 221 return RSA_verify_pss_mgf1(rsa, tbs, tbslen, rctx->md, rctx->mgf1md, in pkey_rsa_verify() 234 rslen != tbslen || in pkey_rsa_verify()
|