Home
last modified time | relevance | path

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

/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa_verify.c54 uint32_t m_tmp_len; in emsa_pss_calc_m() local
56 m_tmp_len = digestlen + saltlen + PSS_MTMP_PADDING_LEN; in emsa_pss_calc_m()
57 m_tmp = (uint8_t *)hvb_malloc(m_tmp_len); in emsa_pss_calc_m()
74 static int emsa_pss_hash_cmp(uint8_t *m_tmp, uint32_t m_tmp_len, in emsa_pss_hash_cmp() argument
84 if (hash_sha256_single(m_tmp, m_tmp_len, hash_tmp, digestlen) != HASH_OK) { in emsa_pss_hash_cmp()
207 uint32_t m_tmp_len; in emsa_pss_verify() local
272 m_tmp_len = PSS_MTMP_PADDING_LEN + digestlen + saltlen; in emsa_pss_verify()
273 ret = emsa_pss_hash_cmp(m_tmp, m_tmp_len, hash, digestlen); in emsa_pss_verify()