Lines Matching refs:hdr
20 OSSL_CMP_PKIHEADER *hdr; member
26 OSSL_CMP_PKIHEADER_free(fixture->hdr); in tear_down()
40 if (!TEST_ptr(fixture->hdr = OSSL_CMP_PKIHEADER_new())) in set_up()
53 if (!TEST_int_eq(ossl_cmp_hdr_set_pvno(fixture->hdr, pvno), 1)) in execute_HDR_set_get_pvno_test()
55 if (!TEST_int_eq(ossl_cmp_hdr_get_pvno(fixture->hdr), pvno)) in execute_HDR_set_get_pvno_test()
85 if (!TEST_int_eq(ossl_cmp_hdr_init(fixture->cmp_ctx, fixture->hdr), in execute_HDR_get0_senderNonce_test()
88 sn = ossl_cmp_hdr_get0_senderNonce(fixture->hdr); in execute_HDR_get0_senderNonce_test()
117 if (!TEST_int_eq(ossl_cmp_hdr_set1_sender(fixture->hdr, x509name), 1)) in execute_HDR_set1_sender_test()
120 if (!TEST_int_eq(fixture->hdr->sender->type, GEN_DIRNAME)) in execute_HDR_set1_sender_test()
123 if (!TEST_int_eq(X509_NAME_cmp(fixture->hdr->sender->d.directoryName, in execute_HDR_set1_sender_test()
151 if (!TEST_int_eq(ossl_cmp_hdr_set1_recipient(fixture->hdr, x509name), 1)) in execute_HDR_set1_recipient_test()
154 if (!TEST_int_eq(fixture->hdr->recipient->type, GEN_DIRNAME)) in execute_HDR_set1_recipient_test()
157 if (!TEST_int_eq(X509_NAME_cmp(fixture->hdr->recipient->d.directoryName, in execute_HDR_set1_recipient_test()
190 if (!TEST_true(ossl_cmp_hdr_update_messageTime(fixture->hdr))) in execute_HDR_update_messageTime_test()
192 if (!TEST_true(ASN1_TIME_to_tm(fixture->hdr->messageTime, &hdrtm))) in execute_HDR_update_messageTime_test()
225 if (!TEST_int_eq(ossl_cmp_hdr_set1_senderKID(fixture->hdr, senderKID), 1)) in execute_HDR_set1_senderKID_test()
227 if (!TEST_int_eq(ASN1_OCTET_STRING_cmp(fixture->hdr->senderKID, in execute_HDR_set1_senderKID_test()
254 if (!TEST_int_eq(ossl_cmp_hdr_push0_freeText(fixture->hdr, text), 1)) in execute_HDR_push0_freeText_test()
257 if (!TEST_true(text == sk_ASN1_UTF8STRING_value(fixture->hdr->freeText, 0))) in execute_HDR_push0_freeText_test()
287 if (!TEST_int_eq(ossl_cmp_hdr_push1_freeText(fixture->hdr, text), 1)) in execute_HDR_push1_freeText_test()
290 pushed_text = sk_ASN1_UTF8STRING_value(fixture->hdr->freeText, 0); in execute_HDR_push1_freeText_test()
317 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in execute_HDR_generalInfo_push0_item_test()
321 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, in execute_HDR_generalInfo_push0_item_test()
367 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push1_items(fixture->hdr, itavs), in execute_HDR_generalInfo_push1_items_test()
370 ginfo = fixture->hdr->generalInfo; in execute_HDR_generalInfo_push1_items_test()
399 return TEST_false(ossl_cmp_hdr_has_implicitConfirm(fixture->hdr)) in execute_HDR_set_and_check_implicitConfirm_test()
400 && TEST_true(ossl_cmp_hdr_set_implicitConfirm(fixture->hdr)) in execute_HDR_set_and_check_implicitConfirm_test()
401 && TEST_true(ossl_cmp_hdr_has_implicitConfirm(fixture->hdr)); in execute_HDR_set_and_check_implicitConfirm_test()
417 ossl_cmp_hdr_init(fixture->cmp_ctx, fixture->hdr))) in execute_HDR_init_test()
422 if (!TEST_int_eq(ossl_cmp_hdr_get_pvno(fixture->hdr), OSSL_CMP_PVNO)) in execute_HDR_init_test()
425 header_nonce = ossl_cmp_hdr_get0_senderNonce(fixture->hdr); in execute_HDR_init_test()
429 header_transactionID = OSSL_CMP_HDR_get0_transactionID(fixture->hdr); in execute_HDR_init_test()
434 header_nonce = OSSL_CMP_HDR_get0_recipNonce(fixture->hdr); in execute_HDR_init_test()