Home
last modified time | relevance | path

Searched refs:keybits (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/mbedtls/port/aes/
Desp_aes_common.c73 unsigned int keybits ) in esp_aes_setkey() argument
76 if (keybits == 192) { in esp_aes_setkey()
80 if (keybits != 128 && keybits != 192 && keybits != 256) { in esp_aes_setkey()
83 ctx->key_bytes = keybits / 8; in esp_aes_setkey()
Desp_aes_xts.c56 unsigned int keybits, in esp_aes_xts_decode_keys() argument
62 const unsigned int half_keybits = keybits / 2; in esp_aes_xts_decode_keys()
65 switch ( keybits ) { in esp_aes_xts_decode_keys()
81 unsigned int keybits) in esp_aes_xts_setkey_enc() argument
87 ret = esp_aes_xts_decode_keys( key, keybits, &key1, &key1bits, in esp_aes_xts_setkey_enc()
105 unsigned int keybits) in esp_aes_xts_setkey_dec() argument
111 ret = esp_aes_xts_decode_keys( key, keybits, &key1, &key1bits, in esp_aes_xts_setkey_dec()
Desp_aes_gcm.c258 unsigned int keybits ) in esp_aes_gcm_setkey() argument
260 if (keybits != 128 && keybits != 192 && keybits != 256) { in esp_aes_gcm_setkey()
265 ctx->aes_ctx.key_bytes = keybits / 8; in esp_aes_gcm_setkey()
/hal_espressif-3.6.0/components/mbedtls/port/include/aes/
Desp_aes.h123 int esp_aes_setkey( esp_aes_context *ctx, const unsigned char *key, unsigned int keybits );
302 unsigned int keybits );
320 unsigned int keybits );
Desp_aes_gcm.h90 unsigned int keybits );