Searched refs:digestinfo (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_verify_hash.c | 124 ltc_asn1_list digestinfo[2], siginfo[2]; in rsa_verify_hash_ex() local 141 LTC_SET_ASN1(digestinfo, 0, LTC_ASN1_OBJECT_IDENTIFIER, loid, sizeof(loid)/sizeof(loid[0])); in rsa_verify_hash_ex() 142 LTC_SET_ASN1(digestinfo, 1, LTC_ASN1_NULL, NULL, 0); in rsa_verify_hash_ex() 143 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_verify_hash_ex() 148 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 1); in rsa_verify_hash_ex() 162 (digestinfo[0].size == hash_descriptor[hash_idx]->OIDlen) && in rsa_verify_hash_ex() 163 …(XMEMCMP(digestinfo[0].data, hash_descriptor[hash_idx]->OID, sizeof(unsigned long) * hash_descript… in rsa_verify_hash_ex()
|
A D | rsa_sign_hash.c | 91 ltc_asn1_list digestinfo[2], siginfo[2]; in rsa_sign_hash_ex() local 105 …LTC_SET_ASN1(digestinfo, 0, LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash_idx]->OID, hash_descr… in rsa_sign_hash_ex() 106 LTC_SET_ASN1(digestinfo, 1, LTC_ASN1_NULL, NULL, 0); in rsa_sign_hash_ex() 107 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_sign_hash_ex()
|
Completed in 3 milliseconds