Home | History | Annotate | Download | only in test

Lines Matching defs:protection

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