Lines Matching refs:protection
76 ASN1_BIT_STRING *protection = in execute_calc_protection_fails_test() local
78 int res = TEST_ptr_null(protection); in execute_calc_protection_fails_test()
80 ASN1_BIT_STRING_free(protection); in execute_calc_protection_fails_test()
86 ASN1_BIT_STRING *protection = in execute_calc_protection_pbmac_test() local
88 int res = TEST_ptr(protection) in execute_calc_protection_pbmac_test()
89 && TEST_true(ASN1_STRING_cmp(protection, in execute_calc_protection_pbmac_test()
90 fixture->msg->protection) == 0); in execute_calc_protection_pbmac_test()
92 ASN1_BIT_STRING_free(protection); in execute_calc_protection_pbmac_test()
101 ASN1_BIT_STRING *protection, in verify_signature() argument
117 && TEST_int_eq(EVP_DigestVerify(ctx, protection->data, in verify_signature()
118 protection->length, in verify_signature()
130 ASN1_BIT_STRING *protection = in execute_calc_protection_signature_test() local
132 int ret = (TEST_ptr(protection) in execute_calc_protection_signature_test()
133 && TEST_true(ASN1_STRING_cmp(protection, in execute_calc_protection_signature_test()
134 fixture->msg->protection) == 0) in execute_calc_protection_signature_test()
135 && TEST_true(verify_signature(fixture->msg, protection, in execute_calc_protection_signature_test()
139 ASN1_BIT_STRING_free(protection); in execute_calc_protection_signature_test()