Home
last modified time | relevance | path

Searched refs:rand_data (Results 1 – 6 of 6) sorted by relevance

/openssl/test/
H A Dcmp_asn_test.c14 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
98 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set()
99 sizeof(rand_data)))) { in test_ASN1_OCTET_STRING_set()
113 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set_tgt_is_src()
114 sizeof(rand_data)))) { in test_ASN1_OCTET_STRING_set_tgt_is_src()
129 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in setup_tests()
H A Dcmp_protect_test.c75 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
214 const size_t size = sizeof(rand_data) / 2; in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
226 rand_data, size)) in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
228 rand_data + size, in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
567 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in OPT_TEST_DECLARE_USAGE()
608 if (!TEST_int_eq(1, RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH))) in OPT_TEST_DECLARE_USAGE()
H A Dcmp_hdr_test.c14 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
222 if (!TEST_int_eq(ASN1_OCTET_STRING_set(senderKID, rand_data, in execute_HDR_set1_senderKID_test()
223 sizeof(rand_data)), 1)) in execute_HDR_set1_senderKID_test()
487 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in setup_tests()
H A Dcmp_vfy_test.c83 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
546 setup_check_update(&fixture, 0, allow_unprotected, 1, rand_data, NULL); in test_msg_check_transaction_id_bad()
570 setup_check_update(&fixture, 0, allow_unprotected, 1, NULL, rand_data); in test_msg_check_recipient_nonce_bad()
621 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in OPT_TEST_DECLARE_USAGE()
658 if (!TEST_int_eq(1, RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH))) in OPT_TEST_DECLARE_USAGE()
H A Dwpackettest.c585 unsigned char rand_data[9]; in test_WPACKET_quic_vlint_random() local
590 if (!TEST_int_gt(RAND_bytes(rand_data, sizeof(rand_data)), 0)) in test_WPACKET_quic_vlint_random()
593 expected = *(uint64_t*)rand_data; in test_WPACKET_quic_vlint_random()
598 switch (rand_data[8] & 3) { in test_WPACKET_quic_vlint_random()
/openssl/providers/implementations/rands/
H A Dseed_src_jitter.c84 struct rand_data *jitter_ec = NULL; in get_jitter_random_value()

Completed in 36 milliseconds