MAGMA
Cryptographic Library
Loading...
Searching...
No Matches
keys.h File Reference
#include "types.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for keys.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MASTER_KEY_LEN   32
#define ITER_KEYS_COUNT   32
#define ITER_KEY_LEN   4

Functions

MagmaResult key_expand (const unsigned char master_key[MASTER_KEY_LEN], unsigned char result_keys[ITER_KEYS_COUNT][ITER_KEY_LEN])

Macro Definition Documentation

◆ ITER_KEY_LEN

#define ITER_KEY_LEN   4

◆ ITER_KEYS_COUNT

#define ITER_KEYS_COUNT   32

◆ MASTER_KEY_LEN

#define MASTER_KEY_LEN   32

Function Documentation

◆ key_expand()

MagmaResult key_expand ( const unsigned char master_key[MASTER_KEY_LEN],
unsigned char result_keys[ITER_KEYS_COUNT][ITER_KEY_LEN] )