Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Dpadding.c498 int maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local
526 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
533 emLen--; in RSA_verify_PKCS1_PSS_mgf1()
535 if (emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()
540 if (EM[emLen - 1] != 0xbc) { in RSA_verify_PKCS1_PSS_mgf1()
544 maskedDBLen = emLen - hLen - 1; in RSA_verify_PKCS1_PSS_mgf1()
604 size_t maskedDBLen, MSBits, emLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
634 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
636 assert(emLen >= 1); in RSA_padding_add_PKCS1_PSS_mgf1()
638 emLen--; in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
/external/libchrome/crypto/third_party/nss/
Drsawrapr.c74 const unsigned char *em, unsigned int emLen, in emsa_pss_verify() argument
86 dbMaskLen = emLen - hash->length - 1; in emsa_pss_verify()
89 if ((emLen < (hash->length + sLen + 2)) || in emsa_pss_verify()
90 (em[emLen - 1] != 0xbc) || in emsa_pss_verify()
Dchromium-nss.h51 unsigned int emLen,