mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
b425001010
Many of the new types introduced by OpenSSL 3.0 have an OSSL_ prefix, e.g., OSSL_CALLBACK, OSSL_PARAM, OSSL_ALGORITHM, OSSL_SERIALIZER. The OPENSSL_CTX type stands out a little by using a different prefix. For consistency reasons, this type is renamed to OSSL_LIB_CTX. Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12621)
22 lines
967 B
C
22 lines
967 B
C
/*
|
|
* Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
#ifndef OSSL_CRYPTO_EC_CURVE448_LOCAL_H
|
|
# define OSSL_CRYPTO_EC_CURVE448_LOCAL_H
|
|
# include "curve448utils.h"
|
|
|
|
int ED448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64],
|
|
const uint8_t public_key[57], const uint8_t private_key[57],
|
|
const uint8_t *context, size_t context_len, const char *propq);
|
|
|
|
int ED448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64],
|
|
const uint8_t signature[114], const uint8_t public_key[57],
|
|
const uint8_t *context, size_t context_len, const char *propq);
|
|
|
|
#endif /* OSSL_CRYPTO_EC_CURVE448_LOCAL_H */
|