Searched refs:k_buf (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_self_tests_core.h | 136 const u8 k_buf[] = { in ecdsa_nn_random_secp224r1_sha3_224_test_vector() local 143 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in ecdsa_nn_random_secp224r1_sha3_224_test_vector() 203 const u8 k_buf[] = { in ecdsa_nn_random_secp256r1_sha3_256_test_vector() local 210 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in ecdsa_nn_random_secp256r1_sha3_256_test_vector() 271 const u8 k_buf[] = { in ecdsa_nn_random_secp256r1_sha3_512_test_vector() local 278 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in ecdsa_nn_random_secp256r1_sha3_512_test_vector() 339 const u8 k_buf[] = { in ecdsa_nn_random_secp384r1_sha3_384_test_vector() local 348 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in ecdsa_nn_random_secp384r1_sha3_384_test_vector() 415 const u8 k_buf[] = { in ecdsa_nn_random_secp521r1_sha3_512_test_vector() local 427 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in ecdsa_nn_random_secp521r1_sha3_512_test_vector() [all …]
|
H A D | bign_test_vectors.h | 30 const u8 k_buf[] = { in bign_1_nn_random_belt_hash_test_vector() local 34 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bign_1_nn_random_belt_hash_test_vector() 81 const u8 k_buf[] = { in bign_2_nn_random_belt_hash_test_vector() local 85 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bign_2_nn_random_belt_hash_test_vector() 129 const u8 k_buf[] = { in bign_3_nn_random_belt_hash_test_vector() local 133 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bign_3_nn_random_belt_hash_test_vector() 180 const u8 k_buf[] = { in bign_4_nn_random_belt_hash_test_vector() local 184 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bign_4_nn_random_belt_hash_test_vector() 233 const u8 k_buf[] = { in bign_5_nn_random_belt_hash_test_vector() local 240 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bign_5_nn_random_belt_hash_test_vector() [all …]
|
H A D | bip0340_test_vectors.h | 31 const u8 k_buf[] = { in bip0340_1_nn_random_test_vector() local 35 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bip0340_1_nn_random_test_vector() 76 const u8 k_buf[] = { in bip0340_2_nn_random_test_vector() local 80 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bip0340_2_nn_random_test_vector() 121 const u8 k_buf[] = { in bip0340_3_nn_random_test_vector() local 125 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bip0340_3_nn_random_test_vector() 166 const u8 k_buf[] = { in bip0340_4_nn_random_test_vector() local 170 ret = nn_init_from_buf(out, k_buf, sizeof(k_buf)); EG(ret, err); in bip0340_4_nn_random_test_vector()
|