Merge pull request #285 from PQClean/one-more-aes-keyexp

One more aes256_keyexp renaming
This commit is contained in:
Thom Wiggers 2020-04-07 07:31:49 +02:00 committed by GitHub
commit 3922725c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
} }