• Home
  • Raw
  • Download

Lines Matching refs:ct

767         let ct = hex::decode("7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b2")  in aes_128_cbc()  localVariable
780 assert_eq!(buf, ct); in aes_128_cbc()
787 ctx.cipher_update_vec(&ct, &mut buf).unwrap(); in aes_128_cbc()
944 fn cipher_wrap_test(cipher: &CipherRef, pt: &str, ct: &str, key: &str, iv: Option<&str>) { in cipher_wrap_test()
947 let expected = hex::decode(ct).unwrap(); in cipher_wrap_test()
979 let ct = "7940ff694448b5bb5139c959a4896832e55d69aa04daa27e"; in test_aes128_wrap() localVariable
983 cipher_wrap_test(Cipher::aes_128_wrap(), pt, ct, key, Some(iv)); in test_aes128_wrap()
990 let ct = "38f1215f0212526f8a70b51955b9fbdc9fe3041d9832306e"; in test_aes128_wrap_default_iv() localVariable
993 cipher_wrap_test(Cipher::aes_128_wrap(), pt, ct, key, None); in test_aes128_wrap_default_iv()
1000 let ct = "f13998f5ab32ef82a1bdbcbe585e1d837385b529572a1e1b"; in test_aes128_wrap_pad() localVariable
1004 cipher_wrap_test(Cipher::aes_128_wrap_pad(), pt, ct, key, Some(iv)); in test_aes128_wrap_pad()
1011 let ct = "3a501085fb8cf66f4186b7df851914d471ed823411598add"; in test_aes128_wrap_pad_default_iv() localVariable
1014 cipher_wrap_test(Cipher::aes_128_wrap_pad(), pt, ct, key, None); in test_aes128_wrap_pad_default_iv()
1021 let ct = "83b89142dfeeb4871e078bfb81134d33e23fedc19b03a1cf689973d3831b6813"; in test_aes192_wrap() localVariable
1025 cipher_wrap_test(Cipher::aes_192_wrap(), pt, ct, key, Some(iv)); in test_aes192_wrap()
1032 let ct = "c02c2cf11505d3e4851030d5534cbf5a1d7eca7ba8839adbf239756daf1b43e6"; in test_aes192_wrap_default_iv() localVariable
1035 cipher_wrap_test(Cipher::aes_192_wrap(), pt, ct, key, None); in test_aes192_wrap_default_iv()
1042 let ct = "b4f6bb167ef7caf061a74da82b36ad038ca057ab51e98d3a"; in test_aes192_wrap_pad() localVariable
1046 cipher_wrap_test(Cipher::aes_192_wrap_pad(), pt, ct, key, Some(iv)); in test_aes192_wrap_pad()
1053 let ct = "b2c37a28cc602753a7c944a4c2555a2df9c98b2eded5312e"; in test_aes192_wrap_pad_default_iv() localVariable
1056 cipher_wrap_test(Cipher::aes_192_wrap_pad(), pt, ct, key, None); in test_aes192_wrap_pad_default_iv()
1063 let ct = "cc05da2a7f56f7dd0c144231f90bce58648fa20a8278f5a6b7d13bba6aa57a33229d4333866b7fd6"; in test_aes256_wrap() localVariable
1067 cipher_wrap_test(Cipher::aes_256_wrap(), pt, ct, key, Some(iv)); in test_aes256_wrap()
1074 let ct = "0b24f068b50e52bc6987868411c36e1b03900866ed12af81eb87cef70a8d1911731c1d7abf789d88"; in test_aes256_wrap_default_iv() localVariable
1077 cipher_wrap_test(Cipher::aes_256_wrap(), pt, ct, key, None); in test_aes256_wrap_default_iv()
1084 let ct = "91594e044ccc06130d60e6c84a996aa4f96a9faff8c5f6e7"; in test_aes256_wrap_pad() localVariable
1088 cipher_wrap_test(Cipher::aes_256_wrap_pad(), pt, ct, key, Some(iv)); in test_aes256_wrap_pad()
1095 let ct = "dc3c166a854afd68aea624a4272693554bf2e4fcbae602cd"; in test_aes256_wrap_pad_default_iv() localVariable
1098 cipher_wrap_test(Cipher::aes_256_wrap_pad(), pt, ct, key, None); in test_aes256_wrap_pad_default_iv()