Home
last modified time | relevance | path

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

/openssl-master/test/
A Dcmp_asn_test.c14 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
83 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set()
84 sizeof(rand_data)))) { in test_ASN1_OCTET_STRING_set()
98 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set_tgt_is_src()
99 sizeof(rand_data)))) { in test_ASN1_OCTET_STRING_set_tgt_is_src()
115 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in setup_tests()
A Dcmp_protect_test.c69 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
208 const size_t size = sizeof(rand_data) / 2; in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
220 rand_data, size)) in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
222 rand_data + size, in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
554 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in OPT_TEST_DECLARE_USAGE()
588 if (!TEST_int_eq(1, RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH))) in OPT_TEST_DECLARE_USAGE()
A Dcmp_hdr_test.c14 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
208 if (!TEST_int_eq(ASN1_OCTET_STRING_set(senderKID, rand_data, in execute_HDR_set1_senderKID_test()
209 sizeof(rand_data)), 1)) in execute_HDR_set1_senderKID_test()
474 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in setup_tests()
A Dcmp_vfy_test.c81 static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; variable
510 setup_check_update(&fixture, 0, allow_unprotected, 1, rand_data, NULL); in test_msg_check_transaction_id_bad()
534 setup_check_update(&fixture, 0, allow_unprotected, 1, NULL, rand_data); in test_msg_check_recipient_nonce_bad()
584 RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH); in OPT_TEST_DECLARE_USAGE()
621 if (!TEST_int_eq(1, RAND_bytes(rand_data, OSSL_CMP_TRANSACTIONID_LENGTH))) in OPT_TEST_DECLARE_USAGE()

Completed in 7 milliseconds