Fix build failures on non-Intel platforms from eb898141209d3bde1c9e5f0b0d816fbe4d3548e1.

This commit is contained in:
Brian Smith 2018-04-27 16:32:29 -10:00
parent 6e24235d6b
commit fbd97aee5f

View File

@ -182,9 +182,11 @@ static aes_set_key_f aes_set_key(void) {
return GFp_AES_set_encrypt_key;
}
#if defined(AESNI)
int GFp_aes_block_is_aesni_encrypt(aes_block_f block) {
return block == GFp_aesni_encrypt;
}
#endif
static aes_block_f aes_block(void) {
/* Keep this in sync with |set_set_key| and |aes_ctr|. */