/mbedtls-3.5.0/include/mbedtls/ |
D | aes.h | 163 unsigned int keybits); 182 unsigned int keybits); 204 unsigned int keybits); 225 unsigned int keybits);
|
D | camellia.h | 94 unsigned int keybits); 110 unsigned int keybits);
|
D | aria.h | 111 unsigned int keybits); 130 unsigned int keybits);
|
D | nist_kw.h | 100 unsigned int keybits,
|
D | cmac.h | 99 const unsigned char *key, size_t keybits);
|
D | gcm.h | 111 unsigned int keybits);
|
D | ccm.h | 131 unsigned int keybits);
|
/mbedtls-3.5.0/library/ |
D | aes.c | 559 unsigned int keybits) in mbedtls_aes_setkey_enc() argument 564 switch (keybits) { in mbedtls_aes_setkey_enc() 583 return mbedtls_aesni_setkey_enc((unsigned char *) RK, key, keybits); in mbedtls_aes_setkey_enc() 589 return mbedtls_aesce_setkey_enc((unsigned char *) RK, key, keybits); in mbedtls_aes_setkey_enc() 593 for (i = 0; i < (keybits >> 5); i++) { in mbedtls_aes_setkey_enc() 665 unsigned int keybits) in mbedtls_aes_setkey_dec() argument 678 if ((ret = mbedtls_aes_setkey_enc(&cty, key, keybits)) != 0) { in mbedtls_aes_setkey_dec() 732 unsigned int keybits, in mbedtls_aes_xts_decode_keys() argument 738 const unsigned int half_keybits = keybits / 2; in mbedtls_aes_xts_decode_keys() 741 switch (keybits) { in mbedtls_aes_xts_decode_keys() [all …]
|
D | camellia.c | 305 unsigned int keybits) in mbedtls_camellia_setkey_enc() argument 320 switch (keybits) { in mbedtls_camellia_setkey_enc() 327 for (i = 0; i < keybits / 8; ++i) { in mbedtls_camellia_setkey_enc() 331 if (keybits == 192) { in mbedtls_camellia_setkey_enc() 371 if (keybits > 128) { in mbedtls_camellia_setkey_enc() 389 if (keybits > 128) { in mbedtls_camellia_setkey_enc() 397 if (keybits > 128) { in mbedtls_camellia_setkey_enc() 416 unsigned int keybits) in mbedtls_camellia_setkey_dec() argument 427 if ((ret = mbedtls_camellia_setkey_enc(&cty, key, keybits)) != 0) { in mbedtls_camellia_setkey_dec()
|
D | aria.c | 366 const unsigned char *key, unsigned int keybits) in mbedtls_aria_setkey_enc() argument 381 if (keybits != 128 && keybits != 192 && keybits != 256) { in mbedtls_aria_setkey_enc() 392 if (keybits >= 192) { in mbedtls_aria_setkey_enc() 396 if (keybits == 256) { in mbedtls_aria_setkey_enc() 401 i = (keybits - 128) >> 6; // index: 0, 1, 2 in mbedtls_aria_setkey_enc() 429 const unsigned char *key, unsigned int keybits) in mbedtls_aria_setkey_dec() argument 435 ret = mbedtls_aria_setkey_enc(ctx, key, keybits); in mbedtls_aria_setkey_dec()
|
D | cmac.c | 174 const unsigned char *key, size_t keybits) in mbedtls_cipher_cmac_starts() argument 184 if ((retval = mbedtls_cipher_setkey(ctx, key, (int) keybits, in mbedtls_cipher_cmac_starts() 740 int keybits, in cmac_test_subkeys() argument 773 if ((ret = mbedtls_cipher_setkey(&ctx, key, keybits, in cmac_test_subkeys() 834 int keybits, in cmac_test_wth_cipher() argument 858 if ((ret = mbedtls_cipher_cmac(cipher_info, key, keybits, messages, in cmac_test_wth_cipher()
|
D | gcm.c | 135 unsigned int keybits) in mbedtls_gcm_setkey() argument 140 if (keybits != 128 && keybits != 192 && keybits != 256) { in mbedtls_gcm_setkey() 144 cipher_info = mbedtls_cipher_info_from_values(cipher, keybits, in mbedtls_gcm_setkey() 160 if ((ret = mbedtls_cipher_setkey(&ctx->cipher_ctx, key, keybits, in mbedtls_gcm_setkey()
|
D | nist_kw.c | 65 unsigned int keybits, in mbedtls_nist_kw_setkey() argument 72 keybits, in mbedtls_nist_kw_setkey() 101 if ((ret = mbedtls_cipher_setkey(&ctx->cipher_ctx, key, keybits, in mbedtls_nist_kw_setkey()
|
D | ccm.c | 62 unsigned int keybits) in mbedtls_ccm_setkey() argument 67 cipher_info = mbedtls_cipher_info_from_values(cipher, keybits, in mbedtls_ccm_setkey() 83 if ((ret = mbedtls_cipher_setkey(&ctx->cipher_ctx, key, keybits, in mbedtls_ccm_setkey()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_cmac.function | 123 int keybits, int block_size, 152 keybits) == 0); 191 data_t *key, int keybits, 236 keybits) == 0);
|