Searched refs:emLen (Results 1 – 2 of 2) sorted by relevance
491 int maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local519 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()526 emLen--; in RSA_verify_PKCS1_PSS_mgf1()528 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()533 if (EM[emLen - 1] != 0xbc) { in RSA_verify_PKCS1_PSS_mgf1()537 maskedDBLen = emLen - hLen - 1; in RSA_verify_PKCS1_PSS_mgf1()590 size_t maskedDBLen, MSBits, emLen; in RSA_padding_add_PKCS1_PSS_mgf1() local606 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()608 assert(emLen >= 1); in RSA_padding_add_PKCS1_PSS_mgf1()610 emLen--; in RSA_padding_add_PKCS1_PSS_mgf1()[all …]
70 def _legacy_pkcs1_v1_5_encode_md5_sha1(M, emLen): argument80 if emLen < 36 + 11:84 PS = b'\xff'*(emLen - 36 - 3)