/test/recipes/ |
A D | 15-test_mp_rsa.t | 24 bits => '2048', 29 bits => '4096', 34 bits => '8192', 57 my $bits = $param->{bits}; 58 my $name = ($evp ? "evp" : "") . "${bits}p${primes}"; 64 '-pkeyopt', "rsa_keygen_bits:$bits"])), 79 '-primes', $primes, $bits])), "genrsa $name");
|
A D | 20-test_dhparam.t | 33 my $bits = shift; #Number of bits in p 79 ok($bits == $readbits, "Checking number of bits is $bits");
|
A D | 15-test_genrsa.t | 49 my $bits = 2 ** $checked; 52 '-pkeyopt', "rsa_keygen_bits:$bits",
|
/test/certs/ |
A D | mkcert.sh | 45 local bits=2048 47 bits=$OPENSSL_KEYBITS 53 rsa) args=("${args[@]}" -pkeyopt rsa_keygen_bits:$bits );; 54 ec) args=("${args[@]}" -pkeyopt "ec_paramgen_curve:$bits") 56 dsa) args=(-paramfile "$bits");;
|
/test/ |
A D | rsa_test.c | 330 int bits; member 363 const int bits = rsa_security_bits_cases[n].bits; in test_rsa_security_bit() local 365 const int bytes = (bits + 7) / 8; in test_rsa_security_bit() 378 memset(num, vals[bits % 8], bytes); in test_rsa_security_bit()
|
A D | evp_libctx_test.c | 547 static int rsa_keygen(int bits, EVP_PKEY **pub, EVP_PKEY **priv) in rsa_keygen() argument 555 if (!TEST_ptr(*priv = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)bits)) in rsa_keygen() 583 int bits = 2048; in kem_rsa_gen_recover() local 585 ret = TEST_true(rsa_keygen(bits, &pub, &priv)) in kem_rsa_gen_recover() 595 && TEST_size_t_eq(ctlen, bits / 8) in kem_rsa_gen_recover()
|
A D | destest.c | 517 static int cfb_test(int bits, unsigned char *cfb_cipher) in cfb_test() argument 523 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 528 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test()
|
A D | slh_dsa_test.c | 329 int bits = 0, sec_bits = 0, sig_len = 0; in slh_dsa_keygen_test() local 340 if (!TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_BITS, &bits)) in slh_dsa_keygen_test() 341 || !TEST_size_t_eq((size_t)bits, 8 * 2 * n) in slh_dsa_keygen_test()
|
A D | ml_dsa_test.c | 92 int bits = 0, sec_bits = 0, sig_len = 0; in ml_dsa_keygen_test() local 105 || !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_BITS, &bits)) in ml_dsa_keygen_test() 106 || !TEST_int_eq(bits, 1952 * 8) in ml_dsa_keygen_test()
|
A D | evp_pkey_provided_test.c | 1443 int bits = 0, security_bits = 0, size = 0; in test_fromdata_ecx() local 1449 bits = X25519_BITS; in test_fromdata_ecx() 1457 bits = X448_BITS; in test_fromdata_ecx() 1465 bits = ED25519_BITS; in test_fromdata_ecx() 1473 bits = ED448_BITS; in test_fromdata_ecx() 1504 if (!TEST_int_eq(EVP_PKEY_get_bits(pk), bits) in test_fromdata_ecx()
|
/test/recipes/30-test_evp_data/ |
A D | evpkdf_tls12_prf.txt | 115 # Test that the key whose length is shorter than 112 bits is rejected 127 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evppkey_kdf_tls1_prf.txt | 110 # Test that the key whose length is shorter than 112 bits is rejected 122 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evpkdf_x963.txt | 166 # Test that the key whose length is shorter than 112 bits is rejected 176 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evpciph_camellia.txt | 17 # CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec 120 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec 213 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec 419 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
|
A D | evpmac_common.txt | 267 # Test HMAC with key < 112 bits is not allowed 278 # Test HMAC with key < 112 bits is unapproved 631 # Test KMAC with key < 112 bits is not allowed 643 # Test KMAC with key < 112 bits is unapproved
|
A D | evppkey_kdf_hkdf.txt | 211 # Test that the key whose length is shorter than 112 bits is rejected 222 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evppkey_ecdsa.txt | 171 # Test that a nist curve with < 112 bits is allowed in fips mode for verifying 199 # Test that a curve with < 112 bits is not allowed in fips mode for signing
|
A D | evppkey_ecdsa_sigalg.txt | 163 # Test that a nist curve with < 112 bits is allowed in fips mode for verifying 191 # Test that a curve with < 112 bits is not allowed in fips mode for signing
|
A D | evpciph_aes_siv.txt | 1018 Title = Flipped bits 0 and 64 in tag 1052 Title = Flipped bits 31 and 63 in tag 1086 Title = Flipped bits 63 and 127 in tag 1120 Title = all bits of tag flipped 2219 Title = Flipped bits 0 and 64 in tag 2253 Title = Flipped bits 31 and 63 in tag 2287 Title = Flipped bits 63 and 127 in tag 2321 Title = all bits of tag flipped 3420 Title = Flipped bits 0 and 64 in tag 3454 Title = Flipped bits 31 and 63 in tag [all …]
|
A D | evpkdf_hkdf.txt | 239 # Test that the key whose length is shorter than 112 bits is rejected 250 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evppkey_rsa.txt | 17 # Any Tests that have keys < 2048 bits OR sign with SHA1 are in this file. 633 Ctrl = bits:128
|
A D | evpkdf_ss.txt | 1158 # The info field is composed of multiple fields concatenated together which includes l = 1024 bits … 1180 Title = Secret length < 112 bits is not allowed in FIPS 1184 # Test that the key whose length is shorter than 112 bits is rejected 1216 # Test that the key whose length is shorter than 112 bits is reported as
|
A D | evpciph_aes_common.txt | 76 # AES-bits-ECB:key::plaintext:ciphertext:encdec 180 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec 286 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec 486 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
|
/test/recipes/30-test_evp_pkey_provided/ |
A D | DH.pub.txt | 22 recommended-private-length: 224 bits
|
A D | DH.priv.txt | 25 recommended-private-length: 224 bits
|