Lines Matching refs:hc2
410 test_mic(struct client *c1, int32_t hc1, struct client *c2, int32_t hc2) in test_mic() argument
423 val = verify_mic(c2, hc2, &msg, &mic); in test_mic()
431 test_wrap(struct client *c1, int32_t hc1, struct client *c2, int32_t hc2, in test_wrap() argument
448 val = decrypt_token(c2, hc2, conf, &wrapped, &out); in test_wrap()
470 test_wrap_ext(struct client *c1, int32_t hc1, struct client *c2, int32_t hc2, in test_wrap_ext() argument
493 val = unwrap_token_ext(c2, hc2, conf, bflags, &header, &wrapped, &trailer, &out); in test_wrap_ext()
516 test_token(struct client *c1, int32_t hc1, struct client *c2, int32_t hc2, int wrap_ext) in test_token() argument
523 test_mic(c1, hc1, c2, hc2); in test_token()
524 test_mic(c2, hc2, c1, hc1); in test_token()
527 val = test_wrap(c1, hc1, c2, hc2, 0); in test_token()
529 val = test_wrap(c2, hc2, c1, hc1, 0); in test_token()
532 val = test_wrap(c1, hc1, c2, hc2, 1); in test_token()
534 val = test_wrap(c2, hc2, c1, hc1, 1); in test_token()
539 val = test_wrap_ext(c1, hc1, c2, hc2, 1, 0); in test_token()
541 val = test_wrap_ext(c2, hc2, c1, hc1, 1, 0); in test_token()
544 val = test_wrap_ext(c1, hc1, c2, hc2, 1, 1); in test_token()
546 val = test_wrap_ext(c2, hc2, c1, hc1, 1, 1); in test_token()
549 val = test_wrap_ext(c1, hc1, c2, hc2, 0, 0); in test_token()
551 val = test_wrap_ext(c2, hc2, c1, hc1, 0, 0); in test_token()
554 val = test_wrap_ext(c1, hc1, c2, hc2, 0, 1); in test_token()
556 val = test_wrap_ext(c2, hc2, c1, hc1, 0, 1); in test_token()