|
9 | 9 |
|
10 | 10 | use std::hint::black_box; |
11 | 11 |
|
12 | | -use aws_lc_rs::{ |
13 | | - aead::{ |
14 | | - Aad, BoundKey, Nonce, NonceSequence, OpeningKey, SealingKey, UnboundKey, AES_128_GCM, |
15 | | - AES_256_GCM, CHACHA20_POLY1305, NONCE_LEN, |
16 | | - }, |
17 | | - agreement::{self, EphemeralPrivateKey, UnparsedPublicKey, X25519}, |
18 | | - digest::{self, Context as DigestContext}, |
19 | | - error::Unspecified, |
20 | | - hkdf::{Salt, HKDF_SHA256, HKDF_SHA384}, |
21 | | - hmac::{self, Context as HmacContext}, |
22 | | - rand::SystemRandom, |
23 | | - signature::{ |
24 | | - self, EcdsaKeyPair, Ed25519KeyPair, KeyPair, RsaKeyPair, ECDSA_P256_SHA256_FIXED_SIGNING, |
25 | | - ECDSA_P384_SHA384_FIXED_SIGNING, ED25519, |
26 | | - }, |
| 12 | +use aws_lc_rs::aead::{ |
| 13 | + Aad, BoundKey, Nonce, NonceSequence, OpeningKey, SealingKey, UnboundKey, AES_128_GCM, |
| 14 | + AES_256_GCM, CHACHA20_POLY1305, NONCE_LEN, |
| 15 | +}; |
| 16 | +use aws_lc_rs::agreement::{self, EphemeralPrivateKey, UnparsedPublicKey, X25519}; |
| 17 | +use aws_lc_rs::digest::{self, Context as DigestContext}; |
| 18 | +use aws_lc_rs::error::Unspecified; |
| 19 | +use aws_lc_rs::hkdf::{Salt, HKDF_SHA256, HKDF_SHA384}; |
| 20 | +use aws_lc_rs::hmac::{self, Context as HmacContext}; |
| 21 | +use aws_lc_rs::rand::SystemRandom; |
| 22 | +use aws_lc_rs::signature::{ |
| 23 | + self, EcdsaKeyPair, Ed25519KeyPair, KeyPair, RsaKeyPair, ECDSA_P256_SHA256_FIXED_SIGNING, |
| 24 | + ECDSA_P384_SHA384_FIXED_SIGNING, ED25519, |
27 | 25 | }; |
28 | 26 |
|
29 | 27 | /// A benchmark definition |
|
0 commit comments