diff options
author | Pauli <paul.dale@oracle.com> | 2018-01-17 13:20:22 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2018-01-24 07:09:46 +1000 |
commit | 4bed94f0c11ef63587c6b2edb03c3c438e221604 (patch) | |
tree | 750293d626b103e4a8f503fc41f291388b15ecce /crypto/include | |
parent | 3bf0c3fe31d5339524dae671064cc5fe9e4bda38 (diff) |
SHA512/224 and SHA512/256
Support added for these two digests, available only via the EVP interface.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5093)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/sha.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/include/internal/sha.h b/crypto/include/internal/sha.h new file mode 100644 index 0000000000..458a75e89d --- /dev/null +++ b/crypto/include/internal/sha.h @@ -0,0 +1,19 @@ +/* + * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. + * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * + * Licensed under the OpenSSL license (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 HEADER_INTERNAL_SHA_H +# define HEADER_INTERNAL_SHA_H + +# include <openssl/opensslconf.h> + +int sha512_224_init(SHA512_CTX *); +int sha512_256_init(SHA512_CTX *); + +#endif |