Lines Matching full:protection
21 /* for protection tests */
78 ASN1_BIT_STRING *protection = in execute_calc_protection_fails_test() local
80 int res = TEST_ptr_null(protection); in execute_calc_protection_fails_test()
82 ASN1_BIT_STRING_free(protection); in execute_calc_protection_fails_test()
88 ASN1_BIT_STRING *protection = in execute_calc_protection_pbmac_test() local
90 int res = TEST_ptr(protection) in execute_calc_protection_pbmac_test()
91 && TEST_true(ASN1_STRING_cmp(protection, in execute_calc_protection_pbmac_test()
92 fixture->msg->protection) == 0); in execute_calc_protection_pbmac_test()
94 ASN1_BIT_STRING_free(protection); in execute_calc_protection_pbmac_test()
103 ASN1_BIT_STRING *protection, in verify_signature() argument
119 && TEST_int_eq(EVP_DigestVerify(ctx, protection->data, in verify_signature()
120 protection->length, in verify_signature()
132 ASN1_BIT_STRING *protection = in execute_calc_protection_signature_test() local
134 int ret = (TEST_ptr(protection) in execute_calc_protection_signature_test()
135 && TEST_true(ASN1_STRING_cmp(protection, in execute_calc_protection_signature_test()
136 fixture->msg->protection) == 0) in execute_calc_protection_signature_test()
137 && TEST_true(verify_signature(fixture->msg, protection, in execute_calc_protection_signature_test()
141 ASN1_BIT_STRING_free(protection); in execute_calc_protection_signature_test()
595 /* Message protection tests */ in OPT_TEST_DECLARE_USAGE()