Lines Matching refs:EM
488 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS_mgf1() argument
520 if (EM[0] & (0xFF << MSBits)) { in RSA_verify_PKCS1_PSS_mgf1()
525 EM++; in RSA_verify_PKCS1_PSS_mgf1()
533 if (EM[emLen - 1] != 0xbc) { in RSA_verify_PKCS1_PSS_mgf1()
538 H = EM + maskedDBLen; in RSA_verify_PKCS1_PSS_mgf1()
548 DB[i] ^= EM[i]; in RSA_verify_PKCS1_PSS_mgf1()
585 int RSA_padding_add_PKCS1_PSS_mgf1(const RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS_mgf1() argument
609 *EM++ = 0; in RSA_padding_add_PKCS1_PSS_mgf1()
650 H = EM + maskedDBLen; in RSA_padding_add_PKCS1_PSS_mgf1()
665 if (!PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash)) { in RSA_padding_add_PKCS1_PSS_mgf1()
669 p = EM; in RSA_padding_add_PKCS1_PSS_mgf1()
682 EM[0] &= 0xFF >> (8 - MSBits); in RSA_padding_add_PKCS1_PSS_mgf1()
687 EM[emLen - 1] = 0xbc; in RSA_padding_add_PKCS1_PSS_mgf1()