Lines Matching refs:hdr_key
467 let mut hdr_key = [0; 16]; in derive_initial_secrets() localVariable
499 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets()
504 assert_eq!(&hdr_key, &expected_client_hdr_key); in derive_initial_secrets()
531 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets()
536 assert_eq!(&hdr_key, &expected_server_hdr_key); in derive_initial_secrets()
546 let mut hdr_key = [0; 16]; in derive_initial_secrets_old() localVariable
579 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets_old()
584 assert_eq!(&hdr_key, &expected_client_hdr_key); in derive_initial_secrets_old()
611 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_initial_secrets_old()
616 assert_eq!(&hdr_key, &expected_server_hdr_key); in derive_initial_secrets_old()
631 let mut hdr_key = [0; 32]; in derive_chacha20_secrets() localVariable
648 assert!(derive_hdr_key(aead, &secret, &mut hdr_key).is_ok()); in derive_chacha20_secrets()
654 assert_eq!(&hdr_key, &expected_hdr_key); in derive_chacha20_secrets()