Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Ddes.h50 #define MBEDTLS_DES_KEY_SIZE 8 macro
134 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 …]
A Dcompat-1.3.h704 #define DES_KEY_SIZE MBEDTLS_DES_KEY_SIZE
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Ddes.c321 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ) in mbedtls_des_key_set_parity() argument
325 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() argument
392 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 …]
/optee_os-3.20.0/lib/libmbedtls/core/
A Ddes3_cbc.c44 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 Ddes3_ecb.c42 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 Ddes_ecb.c42 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_ecb_init()
A Ddes_cbc.c44 if (key1_len != MBEDTLS_DES_KEY_SIZE) in mbed_des_cbc_init()

Completed in 19 milliseconds