Home
last modified time | relevance | path

Searched refs:MBEDTLS_DES_KEY_SIZE (Results 1 – 5 of 5) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Ddes.h40 #define MBEDTLS_DES_KEY_SIZE 8 macro
104 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 …]
Dcompat-1.3.h720 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
/net-tools-latest/mbedtls-2.4.0/library/
Ddes.c346 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_set_parity() argument
350 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() argument
361 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() argument
417 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() argument
497 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_enc() argument
507 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_dec() argument
[all …]
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_des.function13 unsigned char key[MBEDTLS_DES_KEY_SIZE];
323 unsigned char key[MBEDTLS_DES_KEY_SIZE];
326 memset( key, 0, MBEDTLS_DES_KEY_SIZE );
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt60 DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE