Lines Matching refs:pkt_iv
466 let mut pkt_iv = [0; 12]; in derive_initial_secrets() localVariable
492 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets()
497 assert_eq!(&pkt_iv, &expected_client_pkt_iv); in derive_initial_secrets()
524 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets()
529 assert_eq!(&pkt_iv, &expected_server_pkt_iv); in derive_initial_secrets()
545 let mut pkt_iv = [0; 12]; in derive_initial_secrets_old() localVariable
572 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets_old()
577 assert_eq!(&pkt_iv, &expected_client_pkt_iv); in derive_initial_secrets_old()
604 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_initial_secrets_old()
609 assert_eq!(&pkt_iv, &expected_server_pkt_iv); in derive_initial_secrets_old()
630 let mut pkt_iv = [0; 12]; in derive_chacha20_secrets() localVariable
641 assert!(derive_pkt_iv(aead, &secret, &mut pkt_iv).is_ok()); in derive_chacha20_secrets()
646 assert_eq!(&pkt_iv, &expected_pkt_iv); in derive_chacha20_secrets()