diff options
author | Paul Selkirk <paul@psgd.org> | 2020-02-18 19:36:58 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-02-18 20:23:51 -0500 |
commit | eda207f0a3d571a774039d772bff40131ff218d6 (patch) | |
tree | 311f689d48e6ca7d2335df0245d946d02e697d88 /hal.h | |
parent | ddbbfa19b7c4503b44ebe5fa6437cfa11e3b1c5f (diff) |
timing tests for RSA signingmodexpng
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,6 +5,8 @@ * * Authors: Joachim Strombergson, Paul Selkirk, Rob Austein * Copyright (c) 2015-2017, NORDUnet A/S All rights reserved. + * Copyright: 2019-2020, The Commons Conservancy Cryptech Project + * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -16,9 +18,9 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * - Neither the name of the NORDUnet nor the names of its contributors may - * be used to endorse or promote products derived from this software - * without specific prior written permission. + * - Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED @@ -499,6 +501,8 @@ extern void hal_rsa_set_debug(const int onoff); extern void hal_rsa_set_blinding(const int onoff); +extern void hal_rsa_clear_blinding_cache(void); + extern void hal_rsa_set_crt(const int onoff); extern hal_error_t hal_rsa_key_load_private(hal_rsa_key_t **key, |