Searched refs:keybits (Results 1 – 13 of 13) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | blowfish.c | 175 unsigned int keybits ) in mbedtls_blowfish_setkey() argument 180 if( keybits < MBEDTLS_BLOWFISH_MIN_KEY_BITS || keybits > MBEDTLS_BLOWFISH_MAX_KEY_BITS || in mbedtls_blowfish_setkey() 181 ( keybits % 8 ) ) in mbedtls_blowfish_setkey() 186 keybits >>= 3; in mbedtls_blowfish_setkey() 201 if( j >= keybits ) in mbedtls_blowfish_setkey()
|
D | camellia.c | 343 unsigned int keybits ) in mbedtls_camellia_setkey_enc() argument 358 switch( keybits ) in mbedtls_camellia_setkey_enc() 366 for( i = 0; i < keybits / 8; ++i ) in mbedtls_camellia_setkey_enc() 369 if( keybits == 192 ) { in mbedtls_camellia_setkey_enc() 405 if( keybits > 128 ) { in mbedtls_camellia_setkey_enc() 422 if( keybits > 128 ) { in mbedtls_camellia_setkey_enc() 430 if( keybits > 128 ) { in mbedtls_camellia_setkey_enc() 448 unsigned int keybits ) in mbedtls_camellia_setkey_dec() argument 459 if( ( ret = mbedtls_camellia_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_camellia_setkey_dec()
|
D | cmac.c | 203 const unsigned char *key, size_t keybits ) in mbedtls_cipher_cmac_starts() argument 212 if( ( retval = mbedtls_cipher_setkey( ctx, key, keybits, in mbedtls_cipher_cmac_starts() 721 int keybits, in cmac_test_subkeys() argument 755 if( ( ret = mbedtls_cipher_setkey( &ctx, key, keybits, in cmac_test_subkeys() 800 int keybits, in cmac_test_wth_cipher() argument 825 if( ( ret = mbedtls_cipher_cmac( cipher_info, key, keybits, messages, in cmac_test_wth_cipher()
|
D | ccm.c | 71 unsigned int keybits ) in mbedtls_ccm_setkey() argument 76 cipher_info = mbedtls_cipher_info_from_values( cipher, keybits, MBEDTLS_MODE_ECB ); in mbedtls_ccm_setkey() 88 if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keybits, in mbedtls_ccm_setkey()
|
D | gcm.c | 164 unsigned int keybits ) in mbedtls_gcm_setkey() argument 169 cipher_info = mbedtls_cipher_info_from_values( cipher, keybits, MBEDTLS_MODE_ECB ); in mbedtls_gcm_setkey() 181 if( ( ret = mbedtls_cipher_setkey( &ctx->cipher_ctx, key, keybits, in mbedtls_gcm_setkey()
|
D | aes.c | 485 unsigned int keybits ) in mbedtls_aes_setkey_enc() argument 499 switch( keybits ) in mbedtls_aes_setkey_enc() 519 return( mbedtls_aesni_setkey_enc( (unsigned char *) ctx->rk, key, keybits ) ); in mbedtls_aes_setkey_enc() 522 for( i = 0; i < ( keybits >> 5 ); i++ ) in mbedtls_aes_setkey_enc() 599 unsigned int keybits ) in mbedtls_aes_setkey_dec() argument 619 if( ( ret = mbedtls_aes_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_aes_setkey_dec()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | camellia.h | 83 unsigned int keybits ); 95 unsigned int keybits );
|
D | aes.h | 90 unsigned int keybits ); 102 unsigned int keybits );
|
D | cmac.h | 71 const unsigned char *key, size_t keybits );
|
D | ccm.h | 65 unsigned int keybits );
|
D | blowfish.h | 87 unsigned int keybits );
|
D | gcm.h | 78 unsigned int keybits );
|
/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_cmac.function | 124 char *key_string, int keybits, 166 keybits ) == 0 ); 201 char *key_string, int keybits, 256 keybits ) == 0 );
|