1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Rename aes256_keyexp based on #279

This commit is contained in:
Douglas Stebila 2020-04-06 15:39:32 -04:00
parent db0d5800c5
commit 9944e6a81d

View File

@ -45,7 +45,7 @@ seedexpander_init(AES_XOF_struct *ctx,
static void AES256_ECB(uint8_t *key, uint8_t *ctr, uint8_t *buffer) { static void AES256_ECB(uint8_t *key, uint8_t *ctr, uint8_t *buffer) {
aes256ctx ctx; aes256ctx ctx;
aes256_keyexp(&ctx, key); aes256_ecb_keyexp(&ctx, key);
aes256_ecb(buffer, ctr, 1, &ctx); aes256_ecb(buffer, ctr, 1, &ctx);
aes256_ctx_release(&ctx); aes256_ctx_release(&ctx);
} }