Searched refs:pubdata (Results 1 – 4 of 4) sorted by relevance
| /src/contrib/libder/tests/ |
| H A D | test_pubkey.c | 26 static const uint8_t pubdata[] = { 0x00, 0x04, 0xd1, 0x76, 0x20, 0x39, 0xe5, 0x3e, variable 45 assert(datasz == sizeof(pubdata)); in test_interface() 46 assert(memcmp(pubdata, data, datasz) == 0); in test_interface() 65 keystring = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
|
| H A D | test_privkey.c | 33 static const uint8_t pubdata[] = { 0x00, 0x04, 0xae, 0x69, 0x41, 0x0d, 0x9c, variable 105 obj = libder_obj_alloc_simple(ctx, BT_BITSTRING, pubdata, sizeof(pubdata)); in test_construction()
|
| /src/crypto/openssl/demos/signature/ |
| H A D | EVP_ED_Signature_demo.c | 131 unsigned char pubdata[32]; in create_key() local 147 pubdata, in create_key() 148 sizeof(pubdata), in create_key() 153 pub = EVP_PKEY_new_raw_public_key_ex(libctx, "ED25519", NULL, pubdata, pubdata_len); in create_key()
|
| /src/crypto/openssl/test/ |
| H A D | slh_dsa_test.c | 96 unsigned char pubdata[64 + 1]; in slh_dsa_bad_pub_len_test() local 98 if (!TEST_size_t_le(td->pub_len, sizeof(pubdata))) in slh_dsa_bad_pub_len_test() 101 OPENSSL_cleanse(pubdata, sizeof(pubdata)); in slh_dsa_bad_pub_len_test() 102 memcpy(pubdata, td->pub, td->pub_len); in slh_dsa_bad_pub_len_test() 104 if (!TEST_ptr_null(pkey = slh_dsa_key_from_data(td->alg, pubdata, in slh_dsa_bad_pub_len_test() 106 || !TEST_ptr_null(pkey = slh_dsa_key_from_data(td->alg, pubdata, in slh_dsa_bad_pub_len_test()
|