Home
last modified time | relevance | path

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

/openssl/crypto/rsa/
H A Drsa_pss.c52 int hLen, maskedDBLen, MSBits, emLen; in ossl_rsa_verify_PKCS1_PSS_mgf1() local
82 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in ossl_rsa_verify_PKCS1_PSS_mgf1()
84 if (EM[0] & (0xFF << MSBits)) { in ossl_rsa_verify_PKCS1_PSS_mgf1()
88 if (MSBits == 0) { in ossl_rsa_verify_PKCS1_PSS_mgf1()
115 if (MSBits) in ossl_rsa_verify_PKCS1_PSS_mgf1()
116 DB[0] &= 0xFF >> (8 - MSBits); in ossl_rsa_verify_PKCS1_PSS_mgf1()
181 int hLen, maskedDBLen, MSBits, emLen; in ossl_rsa_padding_add_PKCS1_PSS_mgf1() local
220 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
222 if (MSBits == 0) { in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
275 if (MSBits) in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
[all …]

Completed in 5 milliseconds