Lines Matching refs:EM
74 const EVP_MD *Hash, const unsigned char *EM, int sLen)
76 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen);
81 const unsigned char *EM, int sLen)
114 if (EM[0] & (0xFF << MSBits))
121 EM++;
129 if (EM[emLen - 1] != 0xbc)
135 H = EM + maskedDBLen;
145 DB[i] ^= EM[i];
187 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
191 return RSA_padding_add_PKCS1_PSS_mgf1(rsa, EM, mHash, Hash, NULL, sLen);
194 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
228 *EM++ = 0;
252 H = EM + maskedDBLen;
265 if (PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash))
268 p = EM;
282 EM[0] &= 0xFF >> (8 - MSBits);
286 EM[emLen - 1] = 0xbc;