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