Home
last modified time | relevance | path

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

/external/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 …]