Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dblowfish.c175 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()
Dcamellia.c343 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()
Dcmac.c203 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()
Dccm.c71 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()
Dgcm.c164 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()
Daes.c485 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/
Dcamellia.h83 unsigned int keybits );
95 unsigned int keybits );
Daes.h90 unsigned int keybits );
102 unsigned int keybits );
Dcmac.h71 const unsigned char *key, size_t keybits );
Dccm.h65 unsigned int keybits );
Dblowfish.h87 unsigned int keybits );
Dgcm.h78 unsigned int keybits );
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_cmac.function124 char *key_string, int keybits,
166 keybits ) == 0 );
201 char *key_string, int keybits,
256 keybits ) == 0 );