Home
last modified time | relevance | path

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

/third_party/openssl/crypto/rsa/
Drsa_pss.c38 int hLen, maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local
67 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_verify_PKCS1_PSS_mgf1()
69 if (EM[0] & (0xFF << MSBits)) { in RSA_verify_PKCS1_PSS_mgf1()
73 if (MSBits == 0) { in RSA_verify_PKCS1_PSS_mgf1()
102 if (MSBits) in RSA_verify_PKCS1_PSS_mgf1()
103 DB[0] &= 0xFF >> (8 - MSBits); in RSA_verify_PKCS1_PSS_mgf1()
152 int hLen, maskedDBLen, MSBits, emLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
178 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_padding_add_PKCS1_PSS_mgf1()
180 if (MSBits == 0) { in RSA_padding_add_PKCS1_PSS_mgf1()
236 if (MSBits) in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
/third_party/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c491 int maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local
518 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_verify_PKCS1_PSS_mgf1()
520 if (EM[0] & (0xFF << MSBits)) { in RSA_verify_PKCS1_PSS_mgf1()
524 if (MSBits == 0) { in RSA_verify_PKCS1_PSS_mgf1()
550 if (MSBits) { in RSA_verify_PKCS1_PSS_mgf1()
551 DB[0] &= 0xFF >> (8 - MSBits); in RSA_verify_PKCS1_PSS_mgf1()
590 size_t maskedDBLen, MSBits, emLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
605 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_padding_add_PKCS1_PSS_mgf1()
607 if (MSBits == 0) { in RSA_padding_add_PKCS1_PSS_mgf1()
681 if (MSBits) { in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]