mgf1: Refactored MGF1 as an XOF
This commit is contained in:
@@ -14,8 +14,7 @@ crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \
|
||||
crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \
|
||||
crypto/iv/iv_gen.c crypto/iv/iv_gen_rand.c crypto/iv/iv_gen_seq.c \
|
||||
crypto/iv/iv_gen_null.c \
|
||||
crypto/mgf1/mgf1.c crypto/mgf1/mgf1_bitspender.c \
|
||||
crypto/xofs/xof.c \
|
||||
crypto/xofs/xof.c crypto/xofs/xof_bitspender.c \
|
||||
credentials/credential_factory.c credentials/builder.c \
|
||||
credentials/cred_encoding.c credentials/keys/private_key.c \
|
||||
credentials/keys/public_key.c credentials/keys/shared_key.c \
|
||||
@@ -76,8 +75,7 @@ crypto/prf_plus.h crypto/signers/signer.h crypto/signers/mac_signer.h \
|
||||
crypto/crypto_factory.h crypto/crypto_tester.h crypto/diffie_hellman.h \
|
||||
crypto/aead.h crypto/transform.h crypto/pkcs5.h crypto/iv/iv_gen.h \
|
||||
crypto/iv/iv_gen_rand.h crypto/iv/iv_gen_seq.h crypto/iv/iv_gen_null.h \
|
||||
crypto/mgf1/mgf1.h crypto/mgf1/mgf1_bitspender.h \
|
||||
crypto/xofs/xof.h \
|
||||
crypto/xofs/xof.h crypto/xofs/xof_bitspender.h crypto/xofs/mgf1.h \
|
||||
credentials/credential_factory.h credentials/builder.h \
|
||||
credentials/cred_encoding.h credentials/keys/private_key.h \
|
||||
credentials/keys/public_key.h credentials/keys/shared_key.h \
|
||||
@@ -588,6 +586,13 @@ if MONOLITHIC
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_MGF1
|
||||
SUBDIRS += plugins/mgf1
|
||||
if MONOLITHIC
|
||||
libstrongswan_la_LIBADD += plugins/mgf1/libstrongswan-mgf1.la
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_NTRU
|
||||
SUBDIRS += plugins/ntru
|
||||
if MONOLITHIC
|
||||
|
||||
Reference in New Issue
Block a user