Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_verify_hash.c127 ltc_asn1_list digestinfo[2], siginfo[2]; in rsa_verify_hash_ex() local
144 LTC_SET_ASN1(digestinfo, 0, LTC_ASN1_OBJECT_IDENTIFIER, loid, sizeof(loid)/sizeof(loid[0])); in rsa_verify_hash_ex()
145 LTC_SET_ASN1(digestinfo, 1, LTC_ASN1_NULL, NULL, 0); in rsa_verify_hash_ex()
146 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_verify_hash_ex()
151 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 1); in rsa_verify_hash_ex()
165 (digestinfo[0].size == hash_descriptor[hash_idx]->OIDlen) && in rsa_verify_hash_ex()
166 …(XMEMCMP(digestinfo[0].data, hash_descriptor[hash_idx]->OID, sizeof(unsigned long) * hash_descript… in rsa_verify_hash_ex()
A Drsa_sign_hash.c84 ltc_asn1_list digestinfo[2], siginfo[2]; in rsa_sign_hash_ex() local
98 …LTC_SET_ASN1(digestinfo, 0, LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash_idx]->OID, hash_descr… in rsa_sign_hash_ex()
99 LTC_SET_ASN1(digestinfo, 1, LTC_ASN1_NULL, NULL, 0); in rsa_sign_hash_ex()
100 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_sign_hash_ex()

Completed in 3 milliseconds