Searched refs:MBEDTLS_DES_KEY_SIZE (Results 1 – 7 of 7) sorted by relevance
50 #define MBEDTLS_DES_KEY_SIZE 8 macro134 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] );151 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );165 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );180 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]…195 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]…207 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );219 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );231 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );243 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );[all …]
704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
321 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_set_parity() argument325 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_set_parity()336 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_check_key_parity()366 static const unsigned char weak_key_table[WEAK_KEY_COUNT][MBEDTLS_DES_KEY_SIZE] =387 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_check_weak() argument392 if( memcmp( weak_key_table[i], key, MBEDTLS_DES_KEY_SIZE) == 0 ) in mbedtls_des_key_check_weak()499 const unsigned char key[MBEDTLS_DES_KEY_SIZE*2] ) in des3_set2key()526 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ) in mbedtls_des3_set2key_enc()540 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ) in mbedtls_des3_set2key_dec()577 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ) in mbedtls_des3_set3key_enc()[all …]
44 if (key1_len != MBEDTLS_DES_KEY_SIZE * 2 && in mbed_des3_cbc_init()45 key1_len != MBEDTLS_DES_KEY_SIZE * 3) in mbed_des3_cbc_init()55 if (key1_len == MBEDTLS_DES_KEY_SIZE * 3) in mbed_des3_cbc_init()61 if (key1_len == MBEDTLS_DES_KEY_SIZE * 3) in mbed_des3_cbc_init()
42 if (key1_len != MBEDTLS_DES_KEY_SIZE * 2 && in mbed_des3_ecb_init()43 key1_len != MBEDTLS_DES_KEY_SIZE * 3) in mbed_des3_ecb_init()48 if (key1_len == MBEDTLS_DES_KEY_SIZE * 3) { in mbed_des3_ecb_init()
42 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_ecb_init()
44 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_cbc_init()
Completed in 19 milliseconds