Lines Matching refs:EM
495 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS_mgf1() argument
527 if (EM[0] & (0xFF << MSBits)) { in RSA_verify_PKCS1_PSS_mgf1()
532 EM++; in RSA_verify_PKCS1_PSS_mgf1()
540 if (EM[emLen - 1] != 0xbc) { in RSA_verify_PKCS1_PSS_mgf1()
545 H = EM + maskedDBLen; in RSA_verify_PKCS1_PSS_mgf1()
555 DB[i] ^= EM[i]; in RSA_verify_PKCS1_PSS_mgf1()
598 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS_mgf1() argument
637 *EM++ = 0; in RSA_padding_add_PKCS1_PSS_mgf1()
661 H = EM + maskedDBLen; in RSA_padding_add_PKCS1_PSS_mgf1()
677 if (PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash)) { in RSA_padding_add_PKCS1_PSS_mgf1()
681 p = EM; in RSA_padding_add_PKCS1_PSS_mgf1()
694 EM[0] &= 0xFF >> (8 - MSBits); in RSA_padding_add_PKCS1_PSS_mgf1()
699 EM[emLen - 1] = 0xbc; in RSA_padding_add_PKCS1_PSS_mgf1()