Lines Matching refs:from
30 TryFromSliceError(#[from] TryFromSliceError),
165 let private_key = HpkeSecretKey::from( in dh()
169 let public_key = HpkePublicKey::from( in dh()
185 HpkeSecretKey::from(decode_hex::<16>("c8a9d5a91091ad851c668b0736c1c9a0").to_vec()); in dh_invalid_key()
186 let public_key = HpkePublicKey::from( in dh_invalid_key()
195 let private_key = HpkeSecretKey::from( in dh_invalid_key()
200 HpkePublicKey::from(decode_hex::<16>("504a36999f489cd2fdbc08baff3d88fa").to_vec()); in dh_invalid_key()
210 let private_key = HpkeSecretKey::from( in to_public()
214 let expected_public_key = HpkePublicKey::from( in to_public()
226 HpkeSecretKey::from(decode_hex::<16>("c8a9d5a91091ad851c668b0736c1c9a0").to_vec()); in to_public_invalid_key()
244 let public_key = HpkePublicKey::from( in public_key_validate()
256 HpkePublicKey::from(decode_hex::<16>("504a36999f489cd2fdbc08baff3d88fa").to_vec()); in public_key_validate_invalid_key()