Revision 81a0bf97e2012c369f800f26e2e3d3651cde7a35 authored by Matthias J. Kannwischer on 29 July 2021, 07:22:18 UTC, committed by Matthias J. Kannwischer on 02 August 2021, 03:06:46 UTC
1 parent 819f906
symmetric-aes.c
#include "aes256ctr.h"
#include "symmetric.h"
#include <stdint.h>
void PQCLEAN_DILITHIUM3AES_CLEAN_dilithium_aes256ctr_init(aes256ctr_ctx *state,
const uint8_t key[32],
uint16_t nonce) {
uint8_t expnonce[12] = {0};
expnonce[0] = (uint8_t) nonce;
expnonce[1] = (uint8_t) (nonce >> 8);
PQCLEAN_DILITHIUM3AES_CLEAN_aes256ctr_init(state, key, expnonce);
}

Computing file changes ...