Searched refs:MBEDTLS_DES_KEY_SIZE (Results 1 – 15 of 15) sorted by relevance
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | des.h | 47 #define MBEDTLS_DES_KEY_SIZE 8 macro 131 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 147 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 160 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 174 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 188 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 199 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 210 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 221 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); 232 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); [all …]
|
A D | compat-1.3.h | 704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | des.h | 47 #define MBEDTLS_DES_KEY_SIZE 8 macro 131 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 147 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 160 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 174 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 188 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 199 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 210 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 221 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); 232 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); [all …]
|
A D | compat-1.3.h | 704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | des.h | 47 #define MBEDTLS_DES_KEY_SIZE 8 macro 131 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 147 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 160 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 174 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 188 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 199 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 210 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 221 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); 232 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); [all …]
|
A D | compat-1.3.h | 704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | des.h | 47 #define MBEDTLS_DES_KEY_SIZE 8 macro 131 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 147 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 160 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 174 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 188 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 199 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 210 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 221 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); 232 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); [all …]
|
A D | compat-1.3.h | 704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | des.h | 47 #define MBEDTLS_DES_KEY_SIZE 8 macro 131 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 147 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 160 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 174 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 188 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… 199 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 210 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ); 221 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); 232 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ); [all …]
|
A D | compat-1.3.h | 704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | des.c | 343 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_set_parity() argument 347 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_set_parity() 358 for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) in mbedtls_des_key_check_key_parity() 388 static const unsigned char weak_key_table[WEAK_KEY_COUNT][MBEDTLS_DES_KEY_SIZE] = 409 int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_check_weak() argument 414 if( memcmp( weak_key_table[i], key, MBEDTLS_DES_KEY_SIZE) == 0 ) in mbedtls_des_key_check_weak() 521 const unsigned char key[MBEDTLS_DES_KEY_SIZE*2] ) in des3_set2key() 548 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ) in mbedtls_des3_set2key_enc() 562 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] ) in mbedtls_des3_set2key_dec() 599 const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] ) in mbedtls_des3_set3key_enc() [all …]
|
/optee_os/lib/libmbedtls/core/ |
A D | des3_cbc.c | 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()
|
A D | des3_ecb.c | 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()
|
A D | des_ecb.c | 42 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_ecb_init()
|
A D | des_cbc.c | 44 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_cbc_init()
|
Completed in 72 milliseconds