Lines Matching refs:pkt_key
710 let mut pkt_key = [0; 16]; in derive_initial_secrets_v1() localVariable
730 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_v1()
735 assert_eq!(&pkt_key, &expected_client_pkt_key); in derive_initial_secrets_v1()
762 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_v1()
767 assert_eq!(&pkt_key, &expected_server_pkt_key); in derive_initial_secrets_v1()
789 let mut pkt_key = [0; 16]; in derive_initial_secrets_draft29() localVariable
809 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_draft29()
814 assert_eq!(&pkt_key, &expected_client_pkt_key); in derive_initial_secrets_draft29()
841 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_draft29()
846 assert_eq!(&pkt_key, &expected_server_pkt_key); in derive_initial_secrets_draft29()
868 let mut pkt_key = [0; 16]; in derive_initial_secrets_draft27() localVariable
888 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_draft27()
893 assert_eq!(&pkt_key, &expected_client_pkt_key); in derive_initial_secrets_draft27()
920 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_initial_secrets_draft27()
925 assert_eq!(&pkt_key, &expected_server_pkt_key); in derive_initial_secrets_draft27()
952 let mut pkt_key = [0; 32]; in derive_chacha20_secrets() localVariable
956 assert!(derive_pkt_key(aead, &secret, &mut pkt_key).is_ok()); in derive_chacha20_secrets()
962 assert_eq!(&pkt_key, &expected_pkt_key); in derive_chacha20_secrets()