Searched refs:MBEDTLS_DES_KEY_SIZE (Results 1 – 5 of 5) sorted by relevance
40 #define MBEDTLS_DES_KEY_SIZE 8 macro104 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] );116 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );125 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );135 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]…145 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]…156 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );167 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );178 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );189 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );[all …]
720 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
346 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_set_parity() argument350 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_set_parity()357 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_check_key_parity() argument361 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_check_key_parity()391 static const unsigned char weak_key_table[WEAK_KEY_COUNT][MBEDTLS_DES_KEY_SIZE] =412 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_check_weak() argument417 if( memcmp( weak_key_table[i], key, MBEDTLS_DES_KEY_SIZE) == 0 ) in mbedtls_des_key_check_weak()424 void mbedtls_des_setkey( uint32_t SK[32], const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_setkey() argument497 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_enc() argument507 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_dec() argument[all …]
13 unsigned char key[MBEDTLS_DES_KEY_SIZE];323 unsigned char key[MBEDTLS_DES_KEY_SIZE];326 memset( key, 0, MBEDTLS_DES_KEY_SIZE );
60 DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE