Searched refs:keybits (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/mbedtls/port/aes/ |
D | esp_aes_common.c | 73 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()
|
D | esp_aes_xts.c | 56 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()
|
D | esp_aes_gcm.c | 258 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/ |
D | esp_aes.h | 123 int esp_aes_setkey( esp_aes_context *ctx, const unsigned char *key, unsigned int keybits ); 302 unsigned int keybits ); 320 unsigned int keybits );
|
D | esp_aes_gcm.h | 90 unsigned int keybits );
|