diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-09-25 18:15:35 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-11-08 16:48:10 +0100 |
commit | 720a76c22957b8c43aac1b4b74a9c1b07e5b48e8 (patch) | |
tree | d70c3e0f84a4d0dce79b0f061689c655d6a91022 /src/libstrongswan/crypto/xofs/xof.h | |
parent | 126fd8af09b326f2224f686e4cd2ac99de8359ac (diff) | |
download | strongswan-720a76c22957b8c43aac1b4b74a9c1b07e5b48e8.tar.bz2 strongswan-720a76c22957b8c43aac1b4b74a9c1b07e5b48e8.tar.xz |
xof: Add identifiers for MGF1 XOFs based on SHA-224/384
Diffstat (limited to 'src/libstrongswan/crypto/xofs/xof.h')
-rw-r--r-- | src/libstrongswan/crypto/xofs/xof.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libstrongswan/crypto/xofs/xof.h b/src/libstrongswan/crypto/xofs/xof.h index 83c9ab857..934a1ee35 100644 --- a/src/libstrongswan/crypto/xofs/xof.h +++ b/src/libstrongswan/crypto/xofs/xof.h @@ -32,11 +32,15 @@ typedef struct xof_t xof_t; */ enum ext_out_function_t { XOF_UNDEFINED, - /** RFC 2437 PKCS#1 */ + /** RFC 8017 PKCS#1 */ XOF_MGF1_SHA1, - /** RFC 2437 PKCS#1 */ + /** RFC 8017 PKCS#1 */ + XOF_MGF1_SHA224, + /** RFC 8017 PKCS#1 */ XOF_MGF1_SHA256, - /** RFC 2437 PKCS#1 */ + /** RFC 8017 PKCS#1 */ + XOF_MGF1_SHA384, + /** RFC 8017 PKCS#1 */ XOF_MGF1_SHA512, /** FIPS 202 */ XOF_SHAKE_128, |