Squashed 'crypto_encrypt/ntruees401ep2/ref/' changes from ec8300c..4bb6c96

4bb6c96 External DRBG type
626149e Conditionally compile packing in ntru_ring_inv
a512e82 uint64_t packing in ntru_ring_inv
3eee5d1 Use memmove to compute x^i*c in keygen
57105b7 Karatsuba based ntru_ring_mult_coefficients
578e35e minor cycle shaving in octet/element convert
5dd790e New default CFLAGS; respect env. CFLAGS
055129d Made 32bit convolution respect strict-aliasing
2bba7cb Made 64bit convolution respect strict-aliasing
fd01f7b Use product form structure in Newton iteration
1d62055 assert statement cleanup for poly
2aef8b7 assert statement cleanup for encrypt_key
afd6e71 Style changes to new convolutions
a7d09f6 assert statement cleanup for mgf1 and gen_poly
1f770e7 assert statement cleanup for encoding routines
1159b0b Crude compile-time switch to select the convolution routine
7c43c82 64-bit convolutions working
1ea6116 turn on new double-width convolution
2ca55db double-width convolutions using just pointers, no mallocs
124036b John's fix for product form
2b255a2 Removed -g from Makefile
7bc22b6 Added two-coefficients-in-one-uint32_t code. System is currently hardwired to use it, which needs to be changed. Also to be changed: use of malloc.
2d1008d fix Darwin build, dynlib to dylib (cconlon/ntru-crypto@74977e8)
3838c5b Better outputs on failure in subjectPKInfo2PK
c843e96 Document remaining_data_len as in/out argument
457467f Buffer length checks in subjectPublicKeyInfo2PublicKey
fd4d79d Fixed typo, degf -> deg_f
8ea4ccb Minor improvements to ring inverse

git-subtree-dir: crypto_encrypt/ntruees401ep2/ref
git-subtree-split: 4bb6c9632d79541cabae4e842a0fa0860300c193
Updated ntruees401ep2

Conflicts:
	crypto_encrypt/ntruees401ep2/ref/Makefile
Squashed 'crypto_encrypt/ntruees439ep1/ref/' changes from ec8300c..4bb6c96

4bb6c96 External DRBG type
626149e Conditionally compile packing in ntru_ring_inv
a512e82 uint64_t packing in ntru_ring_inv
3eee5d1 Use memmove to compute x^i*c in keygen
57105b7 Karatsuba based ntru_ring_mult_coefficients
578e35e minor cycle shaving in octet/element convert
5dd790e New default CFLAGS; respect env. CFLAGS
055129d Made 32bit convolution respect strict-aliasing
2bba7cb Made 64bit convolution respect strict-aliasing
fd01f7b Use product form structure in Newton iteration
1d62055 assert statement cleanup for poly
2aef8b7 assert statement cleanup for encrypt_key
afd6e71 Style changes to new convolutions
a7d09f6 assert statement cleanup for mgf1 and gen_poly
1f770e7 assert statement cleanup for encoding routines
1159b0b Crude compile-time switch to select the convolution routine
7c43c82 64-bit convolutions working
1ea6116 turn on new double-width convolution
2ca55db double-width convolutions using just pointers, no mallocs
124036b John's fix for product form
2b255a2 Removed -g from Makefile
7bc22b6 Added two-coefficients-in-one-uint32_t code. System is currently hardwired to use it, which needs to be changed. Also to be changed: use of malloc.
2d1008d fix Darwin build, dynlib to dylib (cconlon/ntru-crypto@74977e8)
3838c5b Better outputs on failure in subjectPKInfo2PK
c843e96 Document remaining_data_len as in/out argument
457467f Buffer length checks in subjectPublicKeyInfo2PublicKey
fd4d79d Fixed typo, degf -> deg_f
8ea4ccb Minor improvements to ring inverse

git-subtree-dir: crypto_encrypt/ntruees439ep1/ref
git-subtree-split: 4bb6c9632d79541cabae4e842a0fa0860300c193
Updated ntruees439ep1

Conflicts:
	crypto_encrypt/ntruees439ep1/ref/Makefile
Squashed 'crypto_encrypt/ntruees593ep1/ref/' changes from ec8300c..4bb6c96

4bb6c96 External DRBG type
626149e Conditionally compile packing in ntru_ring_inv
a512e82 uint64_t packing in ntru_ring_inv
3eee5d1 Use memmove to compute x^i*c in keygen
57105b7 Karatsuba based ntru_ring_mult_coefficients
578e35e minor cycle shaving in octet/element convert
5dd790e New default CFLAGS; respect env. CFLAGS
055129d Made 32bit convolution respect strict-aliasing
2bba7cb Made 64bit convolution respect strict-aliasing
fd01f7b Use product form structure in Newton iteration
1d62055 assert statement cleanup for poly
2aef8b7 assert statement cleanup for encrypt_key
afd6e71 Style changes to new convolutions
a7d09f6 assert statement cleanup for mgf1 and gen_poly
1f770e7 assert statement cleanup for encoding routines
1159b0b Crude compile-time switch to select the convolution routine
7c43c82 64-bit convolutions working
1ea6116 turn on new double-width convolution
2ca55db double-width convolutions using just pointers, no mallocs
124036b John's fix for product form
2b255a2 Removed -g from Makefile
7bc22b6 Added two-coefficients-in-one-uint32_t code. System is currently hardwired to use it, which needs to be changed. Also to be changed: use of malloc.
2d1008d fix Darwin build, dynlib to dylib (cconlon/ntru-crypto@74977e8)
3838c5b Better outputs on failure in subjectPKInfo2PK
c843e96 Document remaining_data_len as in/out argument
457467f Buffer length checks in subjectPublicKeyInfo2PublicKey
fd4d79d Fixed typo, degf -> deg_f
8ea4ccb Minor improvements to ring inverse

git-subtree-dir: crypto_encrypt/ntruees593ep1/ref
git-subtree-split: 4bb6c9632d79541cabae4e842a0fa0860300c193
Update ntruees593ep1

Conflicts:
	crypto_encrypt/ntruees593ep1/ref/Makefile
Squashed 'crypto_encrypt/ntruees743ep1/ref/' changes from ec8300c..4bb6c96

4bb6c96 External DRBG type
626149e Conditionally compile packing in ntru_ring_inv
a512e82 uint64_t packing in ntru_ring_inv
3eee5d1 Use memmove to compute x^i*c in keygen
57105b7 Karatsuba based ntru_ring_mult_coefficients
578e35e minor cycle shaving in octet/element convert
5dd790e New default CFLAGS; respect env. CFLAGS
055129d Made 32bit convolution respect strict-aliasing
2bba7cb Made 64bit convolution respect strict-aliasing
fd01f7b Use product form structure in Newton iteration
1d62055 assert statement cleanup for poly
2aef8b7 assert statement cleanup for encrypt_key
afd6e71 Style changes to new convolutions
a7d09f6 assert statement cleanup for mgf1 and gen_poly
1f770e7 assert statement cleanup for encoding routines
1159b0b Crude compile-time switch to select the convolution routine
7c43c82 64-bit convolutions working
1ea6116 turn on new double-width convolution
2ca55db double-width convolutions using just pointers, no mallocs
124036b John's fix for product form
2b255a2 Removed -g from Makefile
7bc22b6 Added two-coefficients-in-one-uint32_t code. System is currently hardwired to use it, which needs to be changed. Also to be changed: use of malloc.
2d1008d fix Darwin build, dynlib to dylib (cconlon/ntru-crypto@74977e8)
3838c5b Better outputs on failure in subjectPKInfo2PK
c843e96 Document remaining_data_len as in/out argument
457467f Buffer length checks in subjectPublicKeyInfo2PublicKey
fd4d79d Fixed typo, degf -> deg_f
8ea4ccb Minor improvements to ring inverse

git-subtree-dir: crypto_encrypt/ntruees743ep1/ref
git-subtree-split: 4bb6c9632d79541cabae4e842a0fa0860300c193
Updated ntruees743ep1

Conflicts:
	crypto_encrypt/ntruees743ep1/ref/Makefile
Updated header files
Use external drbg
Squashed 'crypto_encrypt/ntruees401ep2/ref/' changes from 4bb6c96..17801e5

17801e5 Move architecture detection to ntru_crypto_ntru_platform.h

git-subtree-dir: crypto_encrypt/ntruees401ep2/ref
git-subtree-split: 17801e539d0a3414e66025fd6f16396c229d2ccc
Update ees401ep2
Squashed 'crypto_encrypt/ntruees439ep1/ref/' changes from 4bb6c96..17801e5

17801e5 Move architecture detection to ntru_crypto_ntru_platform.h

git-subtree-dir: crypto_encrypt/ntruees439ep1/ref
git-subtree-split: 17801e539d0a3414e66025fd6f16396c229d2ccc
Update ees439ep1
Squashed 'crypto_encrypt/ntruees593ep1/ref/' changes from 4bb6c96..17801e5

17801e5 Move architecture detection to ntru_crypto_ntru_platform.h

git-subtree-dir: crypto_encrypt/ntruees593ep1/ref
git-subtree-split: 17801e539d0a3414e66025fd6f16396c229d2ccc
Update ees593ep1
Squashed 'crypto_encrypt/ntruees743ep1/ref/' changes from 4bb6c96..17801e5

17801e5 Move architecture detection to ntru_crypto_ntru_platform.h

git-subtree-dir: crypto_encrypt/ntruees743ep1/ref
git-subtree-split: 17801e539d0a3414e66025fd6f16396c229d2ccc
Update ees743ep1
Merge architecture checking code
Merge