Lines Matching +full:0 +full:x6e

63 	KUNIT_ASSERT_EQ(test, err, 0);  in kdf_case()
68 derivedkey.data, derivedkey.len), 0, in kdf_case()
76 .head[0].iov_len = param->plaintext->len, in checksum_case()
94 KUNIT_ASSERT_EQ(test, err, 0); in checksum_case()
96 tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in checksum_case()
99 KUNIT_ASSERT_EQ(test, err, 0); in checksum_case()
101 buf.head[0].iov_base = kunit_kzalloc(test, buf.head[0].iov_len, GFP_KERNEL); in checksum_case()
102 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buf.head[0].iov_base); in checksum_case()
103 memcpy(buf.head[0].iov_base, param->plaintext->data, buf.head[0].iov_len); in checksum_case()
110 err = gss_krb5_checksum(tfm, NULL, 0, &buf, 0, &checksum); in checksum_case()
111 KUNIT_ASSERT_EQ(test, err, 0); in checksum_case()
116 checksum.data, checksum.len), 0, in checksum_case()
145 0x30, 0x31, 0x32, 0x33, 0x34, 0x35
148 0xbe, 0x07, 0x26, 0x31, 0x27, 0x6b, 0x19, 0x55
152 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64
155 0x78, 0xa0, 0x7b, 0x6c, 0xaf, 0x85, 0xfa
159 0x52, 0x6f, 0x75, 0x67, 0x68, 0x20, 0x43, 0x6f,
160 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2c,
161 0x20, 0x61, 0x6e, 0x64, 0x20, 0x52, 0x75, 0x6e,
162 0x6e, 0x69, 0x6e, 0x67, 0x20, 0x43, 0x6f, 0x64,
163 0x65
166 0xbb, 0x6e, 0xd3, 0x08, 0x70, 0xb7, 0xf0, 0xe0
170 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64
173 0x59, 0xe4, 0xa8, 0xca, 0x7c, 0x03, 0x85, 0xc3,
174 0xc3, 0x7b, 0x3f, 0x6d, 0x20, 0x00, 0x24, 0x7c,
175 0xb6, 0xe6, 0xbd, 0x5b, 0x3e
179 0x4d, 0x41, 0x53, 0x53, 0x41, 0x43, 0x48, 0x56,
180 0x53, 0x45, 0x54, 0x54, 0x53, 0x20, 0x49, 0x4e,
181 0x53, 0x54, 0x49, 0x54, 0x56, 0x54, 0x45, 0x20,
182 0x4f, 0x46, 0x20, 0x54, 0x45, 0x43, 0x48, 0x4e,
183 0x4f, 0x4c, 0x4f, 0x47, 0x59
186 0xdb, 0x3b, 0x0d, 0x8f, 0x0b, 0x06, 0x1e, 0x60,
187 0x32, 0x82, 0xb3, 0x08, 0xa5, 0x08, 0x41, 0x22,
188 0x9a, 0xd7, 0x98, 0xfa, 0xb9, 0x54, 0x0c, 0x1b
192 0x51
195 0x51, 0x8a, 0x54, 0xa2, 0x15, 0xa8, 0x45, 0x2a,
196 0x51, 0x8a, 0x54, 0xa2, 0x15, 0xa8, 0x45, 0x2a,
197 0x51, 0x8a, 0x54, 0xa2, 0x15
201 0x62, 0x61
204 0xfb, 0x25, 0xd5, 0x31, 0xae, 0x89, 0x74, 0x49,
205 0x9f, 0x52, 0xfd, 0x92, 0xea, 0x98, 0x57, 0xc4,
206 0xba, 0x24, 0xcf, 0x29, 0x7e
210 0x6b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73
213 0x6b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73
216 0x6b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73,
217 0x7b, 0x9b, 0x5b, 0x2b, 0x93, 0x13, 0x2b, 0x93
220 0x83, 0x72, 0xc2, 0x36, 0x34, 0x4e, 0x5f, 0x15,
221 0x50, 0xcd, 0x07, 0x47, 0xe1, 0x5d, 0x62, 0xca,
222 0x7a, 0x5a, 0x3b, 0xce, 0xa4
225 0x6b, 0x65, 0x72, 0x62, 0x65, 0x72, 0x6f, 0x73,
226 0x7b, 0x9b, 0x5b, 0x2b, 0x93, 0x13, 0x2b, 0x93,
227 0x5c, 0x9b, 0xdc, 0xda, 0xd9, 0x5c, 0x98, 0x99,
228 0xc4, 0xca, 0xe4, 0xde, 0xe6, 0xd6, 0xca, 0xe4
319 result, param->expected_result->len), 0, in rfc3961_nfold_case()
347 0x63, 0x68, 0x69, 0x63, 0x6b, 0x65, 0x6e, 0x20,
348 0x74, 0x65, 0x72, 0x69, 0x79, 0x61, 0x6b, 0x69
352 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
353 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
354 0x20
357 0xc6, 0x35, 0x35, 0x68, 0xf2, 0xbf, 0x8c, 0xb4,
358 0xd8, 0xa5, 0x80, 0x36, 0x2d, 0xa7, 0xff, 0x7f,
359 0x97
362 0xc6, 0x35, 0x35, 0x68, 0xf2, 0xbf, 0x8c, 0xb4,
363 0xd8, 0xa5, 0x80, 0x36, 0x2d, 0xa7, 0xff, 0x7f
367 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
368 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
369 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
370 0x20, 0x47, 0x61, 0x75, 0x27, 0x73, 0x20
373 0xfc, 0x00, 0x78, 0x3e, 0x0e, 0xfd, 0xb2, 0xc1,
374 0xd4, 0x45, 0xd4, 0xc8, 0xef, 0xf7, 0xed, 0x22,
375 0x97, 0x68, 0x72, 0x68, 0xd6, 0xec, 0xcc, 0xc0,
376 0xc0, 0x7b, 0x25, 0xe2, 0x5e, 0xcf, 0xe5
379 0xfc, 0x00, 0x78, 0x3e, 0x0e, 0xfd, 0xb2, 0xc1,
380 0xd4, 0x45, 0xd4, 0xc8, 0xef, 0xf7, 0xed, 0x22
384 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
385 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
386 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
387 0x20, 0x47, 0x61, 0x75, 0x27, 0x73, 0x20, 0x43
390 0x39, 0x31, 0x25, 0x23, 0xa7, 0x86, 0x62, 0xd5,
391 0xbe, 0x7f, 0xcb, 0xcc, 0x98, 0xeb, 0xf5, 0xa8,
392 0x97, 0x68, 0x72, 0x68, 0xd6, 0xec, 0xcc, 0xc0,
393 0xc0, 0x7b, 0x25, 0xe2, 0x5e, 0xcf, 0xe5, 0x84
396 0x39, 0x31, 0x25, 0x23, 0xa7, 0x86, 0x62, 0xd5,
397 0xbe, 0x7f, 0xcb, 0xcc, 0x98, 0xeb, 0xf5, 0xa8
401 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
402 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
403 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
404 0x20, 0x47, 0x61, 0x75, 0x27, 0x73, 0x20, 0x43,
405 0x68, 0x69, 0x63, 0x6b, 0x65, 0x6e, 0x2c, 0x20,
406 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2c
409 0x97, 0x68, 0x72, 0x68, 0xd6, 0xec, 0xcc, 0xc0,
410 0xc0, 0x7b, 0x25, 0xe2, 0x5e, 0xcf, 0xe5, 0x84,
411 0xb3, 0xff, 0xfd, 0x94, 0x0c, 0x16, 0xa1, 0x8c,
412 0x1b, 0x55, 0x49, 0xd2, 0xf8, 0x38, 0x02, 0x9e,
413 0x39, 0x31, 0x25, 0x23, 0xa7, 0x86, 0x62, 0xd5,
414 0xbe, 0x7f, 0xcb, 0xcc, 0x98, 0xeb, 0xf5
417 0xb3, 0xff, 0xfd, 0x94, 0x0c, 0x16, 0xa1, 0x8c,
418 0x1b, 0x55, 0x49, 0xd2, 0xf8, 0x38, 0x02, 0x9e
422 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
423 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
424 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
425 0x20, 0x47, 0x61, 0x75, 0x27, 0x73, 0x20, 0x43,
426 0x68, 0x69, 0x63, 0x6b, 0x65, 0x6e, 0x2c, 0x20,
427 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2c, 0x20
430 0x97, 0x68, 0x72, 0x68, 0xd6, 0xec, 0xcc, 0xc0,
431 0xc0, 0x7b, 0x25, 0xe2, 0x5e, 0xcf, 0xe5, 0x84,
432 0x9d, 0xad, 0x8b, 0xbb, 0x96, 0xc4, 0xcd, 0xc0,
433 0x3b, 0xc1, 0x03, 0xe1, 0xa1, 0x94, 0xbb, 0xd8,
434 0x39, 0x31, 0x25, 0x23, 0xa7, 0x86, 0x62, 0xd5,
435 0xbe, 0x7f, 0xcb, 0xcc, 0x98, 0xeb, 0xf5, 0xa8
438 0x9d, 0xad, 0x8b, 0xbb, 0x96, 0xc4, 0xcd, 0xc0,
439 0x3b, 0xc1, 0x03, 0xe1, 0xa1, 0x94, 0xbb, 0xd8
443 0x49, 0x20, 0x77, 0x6f, 0x75, 0x6c, 0x64, 0x20,
444 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x74, 0x68, 0x65,
445 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c,
446 0x20, 0x47, 0x61, 0x75, 0x27, 0x73, 0x20, 0x43,
447 0x68, 0x69, 0x63, 0x6b, 0x65, 0x6e, 0x2c, 0x20,
448 0x70, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2c, 0x20,
449 0x61, 0x6e, 0x64, 0x20, 0x77, 0x6f, 0x6e, 0x74,
450 0x6f, 0x6e, 0x20, 0x73, 0x6f, 0x75, 0x70, 0x2e
453 0x97, 0x68, 0x72, 0x68, 0xd6, 0xec, 0xcc, 0xc0,
454 0xc0, 0x7b, 0x25, 0xe2, 0x5e, 0xcf, 0xe5, 0x84,
455 0x39, 0x31, 0x25, 0x23, 0xa7, 0x86, 0x62, 0xd5,
456 0xbe, 0x7f, 0xcb, 0xcc, 0x98, 0xeb, 0xf5, 0xa8,
457 0x48, 0x07, 0xef, 0xe8, 0x36, 0xee, 0x89, 0xa5,
458 0x26, 0x73, 0x0d, 0xbc, 0x2f, 0x7b, 0xc8, 0x40,
459 0x9d, 0xad, 0x8b, 0xbb, 0x96, 0xc4, 0xcd, 0xc0,
460 0x3b, 0xc1, 0x03, 0xe1, 0xa1, 0x94, 0xbb, 0xd8
463 0x48, 0x07, 0xef, 0xe8, 0x36, 0xee, 0x89, 0xa5,
464 0x26, 0x73, 0x0d, 0xbc, 0x2f, 0x7b, 0xc8, 0x40
541 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in rfc3962_encrypt_case()
544 KUNIT_ASSERT_EQ(test, err, 0); in rfc3962_encrypt_case()
546 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in rfc3962_encrypt_case()
549 KUNIT_ASSERT_EQ(test, err, 0); in rfc3962_encrypt_case()
558 memset(&buf, 0, sizeof(buf)); in rfc3962_encrypt_case()
559 buf.head[0].iov_base = text; in rfc3962_encrypt_case()
560 buf.head[0].iov_len = param->plaintext->len; in rfc3962_encrypt_case()
561 buf.len = buf.head[0].iov_len; in rfc3962_encrypt_case()
564 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, in rfc3962_encrypt_case()
566 KUNIT_ASSERT_EQ(test, err, 0); in rfc3962_encrypt_case()
574 text, param->expected_result->len), 0, in rfc3962_encrypt_case()
578 param->next_iv->len), 0, in rfc3962_encrypt_case()
609 0x57, 0xd0, 0x29, 0x72, 0x98, 0xff, 0xd9, 0xd3,
610 0x5d, 0xe5, 0xa4, 0x7f, 0xb4, 0xbd, 0xe2, 0x4b
613 0xd1, 0x55, 0x77, 0x5a, 0x20, 0x9d, 0x05, 0xf0,
614 0x2b, 0x38, 0xd4, 0x2a, 0x38, 0x9e, 0x5a, 0x56
617 0x64, 0xdf, 0x83, 0xf8, 0x5a, 0x53, 0x2f, 0x17,
618 0x57, 0x7d, 0x8c, 0x37, 0x03, 0x57, 0x96, 0xab
621 0x3e, 0x4f, 0xbd, 0xf3, 0x0f, 0xb8, 0x25, 0x9c,
622 0x42, 0x5c, 0xb6, 0xc9, 0x6f, 0x1f, 0x46, 0x35
626 0xb9, 0xd6, 0x82, 0x8b, 0x20, 0x56, 0xb7, 0xbe,
627 0x65, 0x6d, 0x88, 0xa1, 0x23, 0xb1, 0xfa, 0xc6,
628 0x82, 0x14, 0xac, 0x2b, 0x72, 0x7e, 0xcf, 0x5f,
629 0x69, 0xaf, 0xe0, 0xc4, 0xdf, 0x2a, 0x6d, 0x2c
632 0xe4, 0x67, 0xf9, 0xa9, 0x55, 0x2b, 0xc7, 0xd3,
633 0x15, 0x5a, 0x62, 0x20, 0xaf, 0x9c, 0x19, 0x22,
634 0x0e, 0xee, 0xd4, 0xff, 0x78, 0xb0, 0xd1, 0xe6,
635 0xa1, 0x54, 0x49, 0x91, 0x46, 0x1a, 0x9e, 0x50
638 0x41, 0x2a, 0xef, 0xc3, 0x62, 0xa7, 0x28, 0x5f,
639 0xc3, 0x96, 0x6c, 0x6a, 0x51, 0x81, 0xe7, 0x60,
640 0x5a, 0xe6, 0x75, 0x23, 0x5b, 0x6d, 0x54, 0x9f,
641 0xbf, 0xc9, 0xab, 0x66, 0x30, 0xa4, 0xc6, 0x04
644 0xfa, 0x62, 0x4f, 0xa0, 0xe5, 0x23, 0x99, 0x3f,
645 0xa3, 0x88, 0xae, 0xfd, 0xc6, 0x7e, 0x67, 0xeb,
646 0xcd, 0x8c, 0x08, 0xe8, 0xa0, 0x24, 0x6b, 0x1d,
647 0x73, 0xb0, 0xd1, 0xdd, 0x9f, 0xc5, 0x82, 0xb0
651 0x00, 0x00, 0x00, 0x02, KEY_USAGE_SEED_CHECKSUM
654 0x00, 0x00, 0x00, 0x02, KEY_USAGE_SEED_ENCRYPTION
657 0x00, 0x00, 0x00, 0x02, KEY_USAGE_SEED_INTEGRITY
721 0x1d, 0xc4, 0x6a, 0x8d, 0x76, 0x3f, 0x4f, 0x93,
722 0x74, 0x2b, 0xcb, 0xa3, 0x38, 0x75, 0x76, 0xc3
725 0x00, 0x00, 0x00, 0x07, KEY_USAGE_SEED_CHECKSUM
728 0x11, 0x78, 0xe6, 0xc5, 0xc4, 0x7a, 0x8c, 0x1a,
729 0xe0, 0xc4, 0xb9, 0xc7, 0xd4, 0xeb, 0x7b, 0x6b
735 0x50, 0x27, 0xbc, 0x23, 0x1d, 0x0f, 0x3a, 0x9d,
736 0x23, 0x33, 0x3f, 0x1c, 0xa6, 0xfd, 0xbe, 0x7c
739 0x00, 0x00, 0x00, 0x08, KEY_USAGE_SEED_CHECKSUM
742 0xd1, 0xb3, 0x4f, 0x70, 0x04, 0xa7, 0x31, 0xf2,
743 0x3a, 0x0c, 0x00, 0xbf, 0x6c, 0x3f, 0x75, 0x3a
749 0xb6, 0x1c, 0x86, 0xcc, 0x4e, 0x5d, 0x27, 0x57,
750 0x54, 0x5a, 0xd4, 0x23, 0x39, 0x9f, 0xb7, 0x03,
751 0x1e, 0xca, 0xb9, 0x13, 0xcb, 0xb9, 0x00, 0xbd,
752 0x7a, 0x3c, 0x6d, 0xd8, 0xbf, 0x92, 0x01, 0x5b
755 0x00, 0x00, 0x00, 0x09, KEY_USAGE_SEED_CHECKSUM
758 0x87, 0xa1, 0x2c, 0xfd, 0x2b, 0x96, 0x21, 0x48,
759 0x10, 0xf0, 0x1c, 0x82, 0x6e, 0x77, 0x44, 0xb1
765 0x32, 0x16, 0x4c, 0x5b, 0x43, 0x4d, 0x1d, 0x15,
766 0x38, 0xe4, 0xcf, 0xd9, 0xbe, 0x80, 0x40, 0xfe,
767 0x8c, 0x4a, 0xc7, 0xac, 0xc4, 0xb9, 0x3d, 0x33,
768 0x14, 0xd2, 0x13, 0x36, 0x68, 0x14, 0x7a, 0x05
771 0x00, 0x00, 0x00, 0x0a, KEY_USAGE_SEED_CHECKSUM
774 0x3f, 0xa0, 0xb4, 0x23, 0x55, 0xe5, 0x2b, 0x18,
775 0x91, 0x87, 0x29, 0x4a, 0xa2, 0x52, 0xab, 0x64
829 .len = 0,
840 0xb6, 0x98, 0x22, 0xa1, 0x9a, 0x6b, 0x09, 0xc0,
841 0xeb, 0xc8, 0x55, 0x7d, 0x1f, 0x1b, 0x6c, 0x0a
844 0x1d, 0xc4, 0x6a, 0x8d, 0x76, 0x3f, 0x4f, 0x93,
845 0x74, 0x2b, 0xcb, 0xa3, 0x38, 0x75, 0x76, 0xc3
848 0xc4, 0x66, 0xf1, 0x87, 0x10, 0x69, 0x92, 0x1e,
849 0xdb, 0x7c, 0x6f, 0xde, 0x24, 0x4a, 0x52, 0xdb,
850 0x0b, 0xa1, 0x0e, 0xdc, 0x19, 0x7b, 0xdb, 0x80,
851 0x06, 0x65, 0x8c, 0xa3, 0xcc, 0xce, 0x6e, 0xb8
855 0x6f, 0x2f, 0xc3, 0xc2, 0xa1, 0x66, 0xfd, 0x88,
856 0x98, 0x96, 0x7a, 0x83, 0xde, 0x95, 0x96, 0xd9
859 0x50, 0x27, 0xbc, 0x23, 0x1d, 0x0f, 0x3a, 0x9d,
860 0x23, 0x33, 0x3f, 0x1c, 0xa6, 0xfd, 0xbe, 0x7c
863 0x84, 0x2d, 0x21, 0xfd, 0x95, 0x03, 0x11, 0xc0,
864 0xdd, 0x46, 0x4a, 0x3f, 0x4b, 0xe8, 0xd6, 0xda,
865 0x88, 0xa5, 0x6d, 0x55, 0x9c, 0x9b, 0x47, 0xd3,
866 0xf9, 0xa8, 0x50, 0x67, 0xaf, 0x66, 0x15, 0x59,
867 0xb8
871 0xa5, 0xb4, 0xa7, 0x1e, 0x07, 0x7a, 0xee, 0xf9,
872 0x3c, 0x87, 0x63, 0xc1, 0x8f, 0xdb, 0x1f, 0x10
875 0xa1, 0xbb, 0x61, 0xe8, 0x05, 0xf9, 0xba, 0x6d,
876 0xde, 0x8f, 0xdb, 0xdd, 0xc0, 0x5c, 0xde, 0xa0
879 0x61, 0x9f, 0xf0, 0x72, 0xe3, 0x62, 0x86, 0xff,
880 0x0a, 0x28, 0xde, 0xb3, 0xa3, 0x52, 0xec, 0x0d,
881 0x0e, 0xdf, 0x5c, 0x51, 0x60, 0xd6, 0x63, 0xc9,
882 0x01, 0x75, 0x8c, 0xcf, 0x9d, 0x1e, 0xd3, 0x3d,
883 0x71, 0xdb, 0x8f, 0x23, 0xaa, 0xbf, 0x83, 0x48,
884 0xa0
888 0x19, 0xfe, 0xe4, 0x0d, 0x81, 0x0c, 0x52, 0x4b,
889 0x5b, 0x22, 0xf0, 0x18, 0x74, 0xc6, 0x93, 0xda
892 0x2c, 0xa2, 0x7a, 0x5f, 0xaf, 0x55, 0x32, 0x24,
893 0x45, 0x06, 0x43, 0x4e, 0x1c, 0xef, 0x66, 0x76
896 0xb8, 0xec, 0xa3, 0x16, 0x7a, 0xe6, 0x31, 0x55,
897 0x12, 0xe5, 0x9f, 0x98, 0xa7, 0xc5, 0x00, 0x20,
898 0x5e, 0x5f, 0x63, 0xff, 0x3b, 0xb3, 0x89, 0xaf,
899 0x1c, 0x41, 0xa2, 0x1d, 0x64, 0x0d, 0x86, 0x15,
900 0xc9, 0xed, 0x3f, 0xbe, 0xb0, 0x5a, 0xb6, 0xac,
901 0xb6, 0x76, 0x89, 0xb5, 0xea
905 0xca, 0x7a, 0x7a, 0xb4, 0xbe, 0x19, 0x2d, 0xab,
906 0xd6, 0x03, 0x50, 0x6d, 0xb1, 0x9c, 0x39, 0xe2
909 0x78, 0x24, 0xf8, 0xc1, 0x6f, 0x83, 0xff, 0x35,
910 0x4c, 0x6b, 0xf7, 0x51, 0x5b, 0x97, 0x3f, 0x43
913 0xa2, 0x6a, 0x39, 0x05, 0xa4, 0xff, 0xd5, 0x81,
914 0x6b, 0x7b, 0x1e, 0x27, 0x38, 0x0d, 0x08, 0x09,
915 0x0c, 0x8e, 0xc1, 0xf3, 0x04, 0x49, 0x6e, 0x1a,
916 0xbd, 0xcd, 0x2b, 0xdc, 0xd1, 0xdf, 0xfc, 0x66,
917 0x09, 0x89, 0xe1, 0x17, 0xa7, 0x13, 0xdd, 0xbb,
918 0x57, 0xa4, 0x14, 0x6c, 0x15, 0x87, 0xcb, 0xa4,
919 0x35, 0x66, 0x65, 0x59, 0x1d, 0x22, 0x40, 0x28,
920 0x2f, 0x58, 0x42, 0xb1, 0x05, 0xa5
924 0x3c, 0xbb, 0xd2, 0xb4, 0x59, 0x17, 0x94, 0x10,
925 0x67, 0xf9, 0x65, 0x99, 0xbb, 0x98, 0x92, 0x6c
928 0xb6, 0x1c, 0x86, 0xcc, 0x4e, 0x5d, 0x27, 0x57,
929 0x54, 0x5a, 0xd4, 0x23, 0x39, 0x9f, 0xb7, 0x03,
930 0x1e, 0xca, 0xb9, 0x13, 0xcb, 0xb9, 0x00, 0xbd,
931 0x7a, 0x3c, 0x6d, 0xd8, 0xbf, 0x92, 0x01, 0x5b
934 0x03, 0x88, 0x6d, 0x03, 0x31, 0x0b, 0x47, 0xa6,
935 0xd8, 0xf0, 0x6d, 0x7b, 0x94, 0xd1, 0xdd, 0x83,
936 0x7e, 0xcc, 0xe3, 0x15, 0xef, 0x65, 0x2a, 0xff,
937 0x62, 0x08, 0x59, 0xd9, 0x4a, 0x25, 0x92, 0x66
941 0xde, 0xf4, 0x87, 0xfc, 0xeb, 0xe6, 0xde, 0x63,
942 0x46, 0xd4, 0xda, 0x45, 0x21, 0xbb, 0xa2, 0xd2
945 0x1b, 0x97, 0xfe, 0x0a, 0x19, 0x0e, 0x20, 0x21,
946 0xeb, 0x30, 0x75, 0x3e, 0x1b, 0x6e, 0x1e, 0x77,
947 0xb0, 0x75, 0x4b, 0x1d, 0x68, 0x46, 0x10, 0x35,
948 0x58, 0x64, 0x10, 0x49, 0x63, 0x46, 0x38, 0x33
951 0x2c, 0x9c, 0x15, 0x70, 0x13, 0x3c, 0x99, 0xbf,
952 0x6a, 0x34, 0xbc, 0x1b, 0x02, 0x12, 0x00, 0x2f,
953 0xd1, 0x94, 0x33, 0x87, 0x49, 0xdb, 0x41, 0x35,
954 0x49, 0x7a, 0x34, 0x7c, 0xfc, 0xd9, 0xd1, 0x8a,
955 0x12
959 0xad, 0x4f, 0xf9, 0x04, 0xd3, 0x4e, 0x55, 0x53,
960 0x84, 0xb1, 0x41, 0x00, 0xfc, 0x46, 0x5f, 0x88
963 0x32, 0x16, 0x4c, 0x5b, 0x43, 0x4d, 0x1d, 0x15,
964 0x38, 0xe4, 0xcf, 0xd9, 0xbe, 0x80, 0x40, 0xfe,
965 0x8c, 0x4a, 0xc7, 0xac, 0xc4, 0xb9, 0x3d, 0x33,
966 0x14, 0xd2, 0x13, 0x36, 0x68, 0x14, 0x7a, 0x05
969 0x9c, 0x6d, 0xe7, 0x5f, 0x81, 0x2d, 0xe7, 0xed,
970 0x0d, 0x28, 0xb2, 0x96, 0x35, 0x57, 0xa1, 0x15,
971 0x64, 0x09, 0x98, 0x27, 0x5b, 0x0a, 0xf5, 0x15,
972 0x27, 0x09, 0x91, 0x3f, 0xf5, 0x2a, 0x2a, 0x9c,
973 0x8e, 0x63, 0xb8, 0x72, 0xf9, 0x2e, 0x64, 0xc8,
974 0x39
978 0xcf, 0x9b, 0xca, 0x6d, 0xf1, 0x14, 0x4e, 0x0c,
979 0x0a, 0xf9, 0xb8, 0xf3, 0x4c, 0x90, 0xd5, 0x14
982 0xb0, 0x38, 0xb1, 0x32, 0xcd, 0x8e, 0x06, 0x61,
983 0x22, 0x67, 0xfa, 0xb7, 0x17, 0x00, 0x66, 0xd8,
984 0x8a, 0xec, 0xcb, 0xa0, 0xb7, 0x44, 0xbf, 0xc6,
985 0x0d, 0xc8, 0x9b, 0xca, 0x18, 0x2d, 0x07, 0x15
988 0xee, 0xec, 0x85, 0xa9, 0x81, 0x3c, 0xdc, 0x53,
989 0x67, 0x72, 0xab, 0x9b, 0x42, 0xde, 0xfc, 0x57,
990 0x06, 0xf7, 0x26, 0xe9, 0x75, 0xdd, 0xe0, 0x5a,
991 0x87, 0xeb, 0x54, 0x06, 0xea, 0x32, 0x4c, 0xa1,
992 0x85, 0xc9, 0x98, 0x6b, 0x42, 0xaa, 0xbe, 0x79,
993 0x4b, 0x84, 0x82, 0x1b, 0xee
997 0x64, 0x4d, 0xef, 0x38, 0xda, 0x35, 0x00, 0x72,
998 0x75, 0x87, 0x8d, 0x21, 0x68, 0x55, 0xe2, 0x28
1001 0xcc, 0xfc, 0xd3, 0x49, 0xbf, 0x4c, 0x66, 0x77,
1002 0xe8, 0x6e, 0x4b, 0x02, 0xb8, 0xea, 0xb9, 0x24,
1003 0xa5, 0x46, 0xac, 0x73, 0x1c, 0xf9, 0xbf, 0x69,
1004 0x89, 0xb9, 0x96, 0xe7, 0xd6, 0xbf, 0xbb, 0xa7
1007 0x0e, 0x44, 0x68, 0x09, 0x85, 0x85, 0x5f, 0x2d,
1008 0x1f, 0x18, 0x12, 0x52, 0x9c, 0xa8, 0x3b, 0xfd,
1009 0x8e, 0x34, 0x9d, 0xe6, 0xfd, 0x9a, 0xda, 0x0b,
1010 0xaa, 0xa0, 0x48, 0xd6, 0x8e, 0x26, 0x5f, 0xeb,
1011 0xf3, 0x4a, 0xd1, 0x25, 0x5a, 0x34, 0x49, 0x99,
1012 0xad, 0x37, 0x14, 0x68, 0x87, 0xa6, 0xc6, 0x84,
1013 0x57, 0x31, 0xac, 0x7f, 0x46, 0x37, 0x6a, 0x05,
1014 0x04, 0xcd, 0x06, 0x57, 0x14, 0x74
1021 .constant = 0,
1066 .constant = 0,
1137 memset(usage_data, 0, sizeof(usage_data)); in rfc6803_encrypt_case()
1145 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1147 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in rfc6803_encrypt_case()
1150 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1152 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in rfc6803_encrypt_case()
1155 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1165 memset(&buf, 0, sizeof(buf)); in rfc6803_encrypt_case()
1166 buf.head[0].iov_base = text; in rfc6803_encrypt_case()
1167 buf.head[0].iov_len = param->confounder->len + param->plaintext->len; in rfc6803_encrypt_case()
1168 buf.len = buf.head[0].iov_len; in rfc6803_encrypt_case()
1180 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1181 ahash_tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in rfc6803_encrypt_case()
1184 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1187 err = gss_krb5_checksum(ahash_tfm, NULL, 0, &buf, 0, &checksum); in rfc6803_encrypt_case()
1188 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1190 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, NULL, 0); in rfc6803_encrypt_case()
1191 KUNIT_ASSERT_EQ(test, err, 0); in rfc6803_encrypt_case()
1199 buf.head[0].iov_base, buf.len), 0, in rfc6803_encrypt_case()
1204 checksum.data, checksum.len), 0, in rfc6803_encrypt_case()
1246 0x37, 0x05, 0xd9, 0x60, 0x80, 0xc1, 0x77, 0x28,
1247 0xa0, 0xe8, 0x00, 0xea, 0xb6, 0xe0, 0xd2, 0x3c
1250 0xb3, 0x1a, 0x01, 0x8a, 0x48, 0xf5, 0x47, 0x76,
1251 0xf4, 0x03, 0xe9, 0xa3, 0x96, 0x32, 0x5d, 0xc3
1254 0x9b, 0x19, 0x7d, 0xd1, 0xe8, 0xc5, 0x60, 0x9d,
1255 0x6e, 0x67, 0xc3, 0xe3, 0x7c, 0x62, 0xc7, 0x2e
1258 0x9f, 0xda, 0x0e, 0x56, 0xab, 0x2d, 0x85, 0xe1,
1259 0x56, 0x9a, 0x68, 0x86, 0x96, 0xc2, 0x6a, 0x6c
1263 0x6d, 0x40, 0x4d, 0x37, 0xfa, 0xf7, 0x9f, 0x9d,
1264 0xf0, 0xd3, 0x35, 0x68, 0xd3, 0x20, 0x66, 0x98,
1265 0x00, 0xeb, 0x48, 0x36, 0x47, 0x2e, 0xa8, 0xa0,
1266 0x26, 0xd1, 0x6b, 0x71, 0x82, 0x46, 0x0c, 0x52
1269 0xef, 0x57, 0x18, 0xbe, 0x86, 0xcc, 0x84, 0x96,
1270 0x3d, 0x8b, 0xbb, 0x50, 0x31, 0xe9, 0xf5, 0xc4,
1271 0xba, 0x41, 0xf2, 0x8f, 0xaf, 0x69, 0xe7, 0x3d
1274 0x56, 0xab, 0x22, 0xbe, 0xe6, 0x3d, 0x82, 0xd7,
1275 0xbc, 0x52, 0x27, 0xf6, 0x77, 0x3f, 0x8e, 0xa7,
1276 0xa5, 0xeb, 0x1c, 0x82, 0x51, 0x60, 0xc3, 0x83,
1277 0x12, 0x98, 0x0c, 0x44, 0x2e, 0x5c, 0x7e, 0x49
1280 0x69, 0xb1, 0x65, 0x14, 0xe3, 0xcd, 0x8e, 0x56,
1281 0xb8, 0x20, 0x10, 0xd5, 0xc7, 0x30, 0x12, 0xb6,
1282 0x22, 0xc4, 0xd0, 0x0f, 0xfc, 0x23, 0xed, 0x1f
1344 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
1345 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
1346 0x10, 0x11, 0x12, 0x13, 0x14
1349 0xd7, 0x83, 0x67, 0x18, 0x66, 0x43, 0xd6, 0x7b,
1350 0x41, 0x1c, 0xba, 0x91, 0x39, 0xfc, 0x1d, 0xee
1353 0x45, 0xee, 0x79, 0x15, 0x67, 0xee, 0xfc, 0xa3,
1354 0x7f, 0x4a, 0xc1, 0xe0, 0x22, 0x2d, 0xe8, 0x0d,
1355 0x43, 0xc3, 0xbf, 0xa0, 0x66, 0x99, 0x67, 0x2a
1395 .len = 0,
1398 0x00, 0x01, 0x02, 0x03, 0x04, 0x05
1401 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
1402 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f
1405 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
1406 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
1407 0x10, 0x11, 0x12, 0x13, 0x14
1411 0x7e, 0x58, 0x95, 0xea, 0xf2, 0x67, 0x24, 0x35,
1412 0xba, 0xd8, 0x17, 0xf5, 0x45, 0xa3, 0x71, 0x48
1415 0xef, 0x85, 0xfb, 0x89, 0x0b, 0xb8, 0x47, 0x2f,
1416 0x4d, 0xab, 0x20, 0x39, 0x4d, 0xca, 0x78, 0x1d
1419 0xad, 0x87, 0x7e, 0xda, 0x39, 0xd5, 0x0c, 0x87,
1420 0x0c, 0x0d, 0x5a, 0x0a, 0x8e, 0x48, 0xc7, 0x18
1424 0x7b, 0xca, 0x28, 0x5e, 0x2f, 0xd4, 0x13, 0x0f,
1425 0xb5, 0x5b, 0x1a, 0x5c, 0x83, 0xbc, 0x5b, 0x24
1428 0x84, 0xd7, 0xf3, 0x07, 0x54, 0xed, 0x98, 0x7b,
1429 0xab, 0x0b, 0xf3, 0x50, 0x6b, 0xeb, 0x09, 0xcf,
1430 0xb5, 0x54, 0x02, 0xce, 0xf7, 0xe6
1433 0x87, 0x7c, 0xe9, 0x9e, 0x24, 0x7e, 0x52, 0xd1,
1434 0x6e, 0xd4, 0x42, 0x1d, 0xfd, 0xf8, 0x97, 0x6c
1438 0x56, 0xab, 0x21, 0x71, 0x3f, 0xf6, 0x2c, 0x0a,
1439 0x14, 0x57, 0x20, 0x0f, 0x6f, 0xa9, 0x94, 0x8f
1442 0x35, 0x17, 0xd6, 0x40, 0xf5, 0x0d, 0xdc, 0x8a,
1443 0xd3, 0x62, 0x87, 0x22, 0xb3, 0x56, 0x9d, 0x2a,
1444 0xe0, 0x74, 0x93, 0xfa, 0x82, 0x63, 0x25, 0x40,
1445 0x80, 0xea, 0x65, 0xc1, 0x00, 0x8e, 0x8f, 0xc2
1448 0x95, 0xfb, 0x48, 0x52, 0xe7, 0xd8, 0x3e, 0x1e,
1449 0x7c, 0x48, 0xc3, 0x7e, 0xeb, 0xe6, 0xb0, 0xd3
1453 0xa7, 0xa4, 0xe2, 0x9a, 0x47, 0x28, 0xce, 0x10,
1454 0x66, 0x4f, 0xb6, 0x4e, 0x49, 0xad, 0x3f, 0xac
1457 0x72, 0x0f, 0x73, 0xb1, 0x8d, 0x98, 0x59, 0xcd,
1458 0x6c, 0xcb, 0x43, 0x46, 0x11, 0x5c, 0xd3, 0x36,
1459 0xc7, 0x0f, 0x58, 0xed, 0xc0, 0xc4, 0x43, 0x7c,
1460 0x55, 0x73, 0x54, 0x4c, 0x31, 0xc8, 0x13, 0xbc,
1461 0xe1, 0xe6, 0xd0, 0x72, 0xc1
1464 0x86, 0xb3, 0x9a, 0x41, 0x3c, 0x2f, 0x92, 0xca,
1465 0x9b, 0x83, 0x34, 0xa2, 0x87, 0xff, 0xcb, 0xfc
1469 0xf7, 0x64, 0xe9, 0xfa, 0x15, 0xc2, 0x76, 0x47,
1470 0x8b, 0x2c, 0x7d, 0x0c, 0x4e, 0x5f, 0x58, 0xe4
1473 0x41, 0xf5, 0x3f, 0xa5, 0xbf, 0xe7, 0x02, 0x6d,
1474 0x91, 0xfa, 0xf9, 0xbe, 0x95, 0x91, 0x95, 0xa0
1477 0x58, 0x70, 0x72, 0x73, 0xa9, 0x6a, 0x40, 0xf0,
1478 0xa0, 0x19, 0x60, 0x62, 0x1a, 0xc6, 0x12, 0x74,
1479 0x8b, 0x9b, 0xbf, 0xbe, 0x7e, 0xb4, 0xce, 0x3c
1483 0xb8, 0x0d, 0x32, 0x51, 0xc1, 0xf6, 0x47, 0x14,
1484 0x94, 0x25, 0x6f, 0xfe, 0x71, 0x2d, 0x0b, 0x9a
1487 0x4e, 0xd7, 0xb3, 0x7c, 0x2b, 0xca, 0xc8, 0xf7,
1488 0x4f, 0x23, 0xc1, 0xcf, 0x07, 0xe6, 0x2b, 0xc7,
1489 0xb7, 0x5f, 0xb3, 0xf6, 0x37, 0xb9
1492 0xf5, 0x59, 0xc7, 0xf6, 0x64, 0xf6, 0x9e, 0xab,
1493 0x7b, 0x60, 0x92, 0x23, 0x75, 0x26, 0xea, 0x0d,
1494 0x1f, 0x61, 0xcb, 0x20, 0xd6, 0x9d, 0x10, 0xf2
1498 0x53, 0xbf, 0x8a, 0x0d, 0x10, 0x52, 0x65, 0xd4,
1499 0xe2, 0x76, 0x42, 0x86, 0x24, 0xce, 0x5e, 0x63
1502 0xbc, 0x47, 0xff, 0xec, 0x79, 0x98, 0xeb, 0x91,
1503 0xe8, 0x11, 0x5c, 0xf8, 0xd1, 0x9d, 0xac, 0x4b,
1504 0xbb, 0xe2, 0xe1, 0x63, 0xe8, 0x7d, 0xd3, 0x7f,
1505 0x49, 0xbe, 0xca, 0x92, 0x02, 0x77, 0x64, 0xf6
1508 0x8c, 0xf5, 0x1f, 0x14, 0xd7, 0x98, 0xc2, 0x27,
1509 0x3f, 0x35, 0xdf, 0x57, 0x4d, 0x1f, 0x93, 0x2e,
1510 0x40, 0xc4, 0xff, 0x25, 0x5b, 0x36, 0xa2, 0x66
1514 0x76, 0x3e, 0x65, 0x36, 0x7e, 0x86, 0x4f, 0x02,
1515 0xf5, 0x51, 0x53, 0xc7, 0xe3, 0xb5, 0x8a, 0xf1
1518 0x40, 0x01, 0x3e, 0x2d, 0xf5, 0x8e, 0x87, 0x51,
1519 0x95, 0x7d, 0x28, 0x78, 0xbc, 0xd2, 0xd6, 0xfe,
1520 0x10, 0x1c, 0xcf, 0xd5, 0x56, 0xcb, 0x1e, 0xae,
1521 0x79, 0xdb, 0x3c, 0x3e, 0xe8, 0x64, 0x29, 0xf2,
1522 0xb2, 0xa6, 0x02, 0xac, 0x86
1525 0xfe, 0xf6, 0xec, 0xb6, 0x47, 0xd6, 0x29, 0x5f,
1526 0xae, 0x07, 0x7a, 0x1f, 0xeb, 0x51, 0x75, 0x08,
1527 0xd2, 0xc1, 0x6b, 0x41, 0x92, 0xe0, 0x1f, 0x62
1639 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1641 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in rfc8009_encrypt_case()
1644 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1646 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in rfc8009_encrypt_case()
1649 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1658 memset(&buf, 0, sizeof(buf)); in rfc8009_encrypt_case()
1659 buf.head[0].iov_base = text; in rfc8009_encrypt_case()
1660 buf.head[0].iov_len = param->confounder->len + param->plaintext->len; in rfc8009_encrypt_case()
1661 buf.len = buf.head[0].iov_len; in rfc8009_encrypt_case()
1673 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1675 ahash_tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in rfc8009_encrypt_case()
1678 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1681 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, NULL, 0); in rfc8009_encrypt_case()
1682 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1683 err = krb5_etm_checksum(cts_tfm, ahash_tfm, &buf, 0, &checksum); in rfc8009_encrypt_case()
1684 KUNIT_ASSERT_EQ(test, err, 0); in rfc8009_encrypt_case()
1692 buf.head[0].iov_base, in rfc8009_encrypt_case()
1693 param->expected_result->len), 0, in rfc8009_encrypt_case()
1697 checksum.len), 0, in rfc8009_encrypt_case()
1798 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in encrypt_selftest_case()
1801 KUNIT_ASSERT_EQ(test, err, 0); in encrypt_selftest_case()
1803 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in encrypt_selftest_case()
1806 KUNIT_ASSERT_EQ(test, err, 0); in encrypt_selftest_case()
1814 memset(&buf, 0, sizeof(buf)); in encrypt_selftest_case()
1815 buf.head[0].iov_base = text; in encrypt_selftest_case()
1816 buf.head[0].iov_len = param->plaintext->len; in encrypt_selftest_case()
1817 buf.len = buf.head[0].iov_len; in encrypt_selftest_case()
1820 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, NULL, 0); in encrypt_selftest_case()
1821 KUNIT_ASSERT_EQ(test, err, 0); in encrypt_selftest_case()
1822 err = krb5_cbc_cts_decrypt(cts_tfm, cbc_tfm, 0, &buf); in encrypt_selftest_case()
1823 KUNIT_ASSERT_EQ(test, err, 0); in encrypt_selftest_case()
1831 buf.head[0].iov_base, buf.len), 0, in encrypt_selftest_case()