Path: blob/main/crypto/openssl/include/internal/deterministic_nonce.h
34879 views
/*1* Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/89#ifndef OSSL_INTERNAL_DETERMINISTIC_NONCE_H10# define OSSL_INTERNAL_DETERMINISTIC_NONCE_H11# pragma once1213# include <openssl/bn.h>1415int ossl_gen_deterministic_nonce_rfc6979(BIGNUM *out, const BIGNUM *q,16const BIGNUM *priv,17const unsigned char *message,18size_t message_len,19const char *digestname,20OSSL_LIB_CTX *libctx,21const char *propq);2223#endif /*OSSL_INTERNAL_DETERMINISTIC_NONCE_H */242526