Home
last modified time | relevance | path

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

/freebsd/contrib/bearssl/src/rsa/
H A Drsa_i32_pub.c34 uint32_t m[1 + (BR_MAX_RSA_SIZE >> 5)]; in br_rsa_i32_public()
35 uint32_t a[1 + (BR_MAX_RSA_SIZE >> 5)]; in br_rsa_i32_public()
36 uint32_t t1[1 + (BR_MAX_RSA_SIZE >> 5)]; in br_rsa_i32_public()
37 uint32_t t2[1 + (BR_MAX_RSA_SIZE >> 5)]; in br_rsa_i32_public()
50 if (nlen == 0 || nlen > (BR_MAX_RSA_SIZE >> 3) || xlen != nlen) { in br_rsa_i32_public()
H A Drsa_i31_pub.c31 #define TLEN (4 * (2 + ((BR_MAX_RSA_SIZE + 30) / 31)))
56 if (nlen == 0 || nlen > (BR_MAX_RSA_SIZE >> 3) || xlen != nlen) { in br_rsa_i31_public()
H A Drsa_i15_pub.c31 #define TLEN (4 * (2 + ((BR_MAX_RSA_SIZE + 14) / 15)))
57 if (nlen == 0 || nlen > (BR_MAX_RSA_SIZE >> 3) || xlen != nlen) { in br_rsa_i15_public()
H A Drsa_i62_pub.c33 #define TLEN (2 * (2 + ((BR_MAX_RSA_SIZE + 30) / 31)))
58 if (nlen == 0 || nlen > (BR_MAX_RSA_SIZE >> 3) || xlen != nlen) { in br_rsa_i62_public()
H A Drsa_i15_pkcs1_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i15_pkcs1_vrfy()
H A Drsa_i31_pkcs1_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i31_pkcs1_vrfy()
H A Drsa_i32_pkcs1_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i32_pkcs1_vrfy()
H A Drsa_i15_pss_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i15_pss_vrfy()
H A Drsa_i31_pss_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i31_pss_vrfy()
H A Drsa_i32_pss_vrfy.c33 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i32_pss_vrfy()
H A Drsa_i62_pkcs1_vrfy.c35 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i62_pkcs1_vrfy()
H A Drsa_i62_pss_vrfy.c35 unsigned char sig[BR_MAX_RSA_SIZE >> 3]; in br_rsa_i62_pss_vrfy()
H A Drsa_i15_modulus.c31 uint16_t tmp[4 * (((BR_MAX_RSA_SIZE / 2) + 14) / 15) + 5]; in br_rsa_i15_compute_modulus()
H A Drsa_i31_modulus.c31 uint32_t tmp[4 * (((BR_MAX_RSA_SIZE / 2) + 30) / 31) + 5]; in br_rsa_i31_compute_modulus()
H A Drsa_i15_keygen.c93 #define TEMPS MAX(1024, 7 * ((((BR_MAX_RSA_SIZE + 1) >> 1) + 29) / 15))
448 if (size < BR_MIN_RSA_SIZE || size > BR_MAX_RSA_SIZE) { in br_rsa_i15_keygen()
H A Drsa_i31_keygen_inner.c95 #define TEMPS MAX(512, ROUND2(7 * ((((BR_MAX_RSA_SIZE + 1) >> 1) + 61) / 31)))
472 if (size < BR_MIN_RSA_SIZE || size > BR_MAX_RSA_SIZE) { in br_rsa_i31_keygen_inner()
/freebsd/contrib/bearssl/src/
H A Dsettings.c183 { "BR_MAX_RSA_SIZE", BR_MAX_RSA_SIZE },
H A Dinner.h56 #define BR_MAX_RSA_SIZE 4096 macro
74 #define BR_MAX_RSA_FACTOR ((BR_MAX_RSA_SIZE + 64) >> 1)