Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Ddes.h67 typedef struct mbedtls_des_context struct
71 mbedtls_des_context; argument
95 void mbedtls_des_init( mbedtls_des_context *ctx );
106 void mbedtls_des_free( mbedtls_des_context *ctx );
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]…
259 int mbedtls_des_crypt_ecb( mbedtls_des_context *ctx,
287 int mbedtls_des_crypt_cbc( mbedtls_des_context *ctx,
A Dcompat-1.3.h1859 #define des_context mbedtls_des_context
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Ddes.c284 void mbedtls_des_init( mbedtls_des_context *ctx ) in mbedtls_des_init()
286 memset( ctx, 0, sizeof( mbedtls_des_context ) ); in mbedtls_des_init()
289 void mbedtls_des_free( mbedtls_des_context *ctx ) in mbedtls_des_free()
294 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_des_context ) ); in mbedtls_des_free()
472 int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_enc()
482 int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE]… in mbedtls_des_setkey_dec()
605 int mbedtls_des_crypt_ecb( mbedtls_des_context *ctx, in mbedtls_des_crypt_ecb()
638 int mbedtls_des_crypt_cbc( mbedtls_des_context *ctx, in mbedtls_des_crypt_cbc()
862 mbedtls_des_context ctx; in mbedtls_des_self_test()
A Dcipher_wrap.c1439 return mbedtls_des_crypt_ecb( (mbedtls_des_context *) ctx, input, output ); in des_crypt_ecb_wrap()
1453 return mbedtls_des_crypt_cbc( (mbedtls_des_context *) ctx, operation, length, iv, input, in des_crypt_cbc_wrap()
1472 return mbedtls_des_setkey_dec( (mbedtls_des_context *) ctx, key ); in des_setkey_dec_wrap()
1480 return mbedtls_des_setkey_enc( (mbedtls_des_context *) ctx, key ); in des_setkey_enc_wrap()
1517 mbedtls_des_context *des = mbedtls_calloc( 1, sizeof( mbedtls_des_context ) ); in des_ctx_alloc()
1529 memcpy( dst, src, sizeof( mbedtls_des_context ) ); in des_ctx_clone()
1534 mbedtls_des_free( (mbedtls_des_context *) ctx ); in des_ctx_free()
A Dpem.c142 mbedtls_des_context des_ctx; in pem_des_decrypt()
/optee_os-3.20.0/lib/libmbedtls/core/
A Ddes_ecb.c19 mbedtls_des_context des_ctx;
A Ddes_cbc.c20 mbedtls_des_context des_ctx;

Completed in 25 milliseconds