Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 30) sorted by relevance

12

/test/recipes/
A D15-test_mp_rsa.t24 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 D20-test_dhparam.t33 my $bits = shift; #Number of bits in p
79 ok($bits == $readbits, "Checking number of bits is $bits");
A D15-test_genrsa.t49 my $bits = 2 ** $checked;
52 '-pkeyopt', "rsa_keygen_bits:$bits",
/test/certs/
A Dmkcert.sh45 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 Drsa_test.c330 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 Devp_libctx_test.c547 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 Ddestest.c517 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 Dslh_dsa_test.c329 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 Dml_dsa_test.c92 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 Devp_pkey_provided_test.c1443 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 Devpkdf_tls12_prf.txt115 # 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 Devppkey_kdf_tls1_prf.txt110 # 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 Devpkdf_x963.txt166 # 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 Devpciph_camellia.txt17 # 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 Devpmac_common.txt267 # 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 Devppkey_kdf_hkdf.txt211 # 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 Devppkey_ecdsa.txt171 # 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 Devppkey_ecdsa_sigalg.txt163 # 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 Devpciph_aes_siv.txt1018 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 Devpkdf_hkdf.txt239 # 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 Devppkey_rsa.txt17 # Any Tests that have keys < 2048 bits OR sign with SHA1 are in this file.
633 Ctrl = bits:128
A Devpkdf_ss.txt1158 # 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 Devpciph_aes_common.txt76 # 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 DDH.pub.txt22 recommended-private-length: 224 bits
A DDH.priv.txt25 recommended-private-length: 224 bits

Completed in 59 milliseconds

12