blob: 568dbd96f449b75fd99f4649448c7898b3ff0657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from ..hazmat.primitives.fixtures_ec import EC_KEY_SECP256R1
def test_load_ec_public_numbers(benchmark):
benchmark(EC_KEY_SECP256R1.public_numbers.public_key)
def test_load_ec_private_numbers(benchmark):
benchmark(EC_KEY_SECP256R1.private_key)
|