mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 19:51:08 +00:00
Made AES-NI bit-size specific key expansion functions static
This commit is contained in:
parent
caf0e60969
commit
93759b048f
|
@ -240,7 +240,7 @@ void aesni_inverse_key( unsigned char *invkey,
|
|||
/*
|
||||
* Key expansion, 128-bit case
|
||||
*/
|
||||
void aesni_setkey_enc_128( unsigned char *rk,
|
||||
static void aesni_setkey_enc_128( unsigned char *rk,
|
||||
const unsigned char *key )
|
||||
{
|
||||
asm( "movdqu (%1), %%xmm0 \n" // copy the original key
|
||||
|
@ -290,7 +290,7 @@ void aesni_setkey_enc_128( unsigned char *rk,
|
|||
/*
|
||||
* Key expansion, 192-bit case
|
||||
*/
|
||||
void aesni_setkey_enc_192( unsigned char *rk,
|
||||
static void aesni_setkey_enc_192( unsigned char *rk,
|
||||
const unsigned char *key )
|
||||
{
|
||||
asm( "movdqu (%1), %%xmm0 \n" // copy original round key
|
||||
|
@ -347,7 +347,7 @@ void aesni_setkey_enc_192( unsigned char *rk,
|
|||
/*
|
||||
* Key expansion, 256-bit case
|
||||
*/
|
||||
void aesni_setkey_enc_256( unsigned char *rk,
|
||||
static void aesni_setkey_enc_256( unsigned char *rk,
|
||||
const unsigned char *key )
|
||||
{
|
||||
asm( "movdqu (%1), %%xmm0 \n"
|
||||
|
|
Loading…
Reference in a new issue