Home
last modified time | relevance | path

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

/third_party/mbedtls/include/mbedtls/
Ddes.h72 typedef struct mbedtls_des3_context { struct
75 mbedtls_des3_context; typedef
112 void mbedtls_des3_init(mbedtls_des3_context *ctx);
123 void mbedtls_des3_free(mbedtls_des3_context *ctx);
213 int mbedtls_des3_set2key_enc(mbedtls_des3_context *ctx,
229 int mbedtls_des3_set2key_dec(mbedtls_des3_context *ctx,
245 int mbedtls_des3_set3key_enc(mbedtls_des3_context *ctx,
261 int mbedtls_des3_set3key_dec(mbedtls_des3_context *ctx,
328 int mbedtls_des3_crypt_ecb(mbedtls_des3_context *ctx,
358 int mbedtls_des3_crypt_cbc(mbedtls_des3_context *ctx,
/third_party/mbedtls/library/
Ddes.c291 void mbedtls_des3_init(mbedtls_des3_context *ctx) in mbedtls_des3_init()
293 memset(ctx, 0, sizeof(mbedtls_des3_context)); in mbedtls_des3_init()
296 void mbedtls_des3_free(mbedtls_des3_context *ctx) in mbedtls_des3_free()
302 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_des3_context)); in mbedtls_des3_free()
527 int mbedtls_des3_set2key_enc(mbedtls_des3_context *ctx, in mbedtls_des3_set2key_enc()
541 int mbedtls_des3_set2key_dec(mbedtls_des3_context *ctx, in mbedtls_des3_set2key_dec()
577 int mbedtls_des3_set3key_enc(mbedtls_des3_context *ctx, in mbedtls_des3_set3key_enc()
591 int mbedtls_des3_set3key_dec(mbedtls_des3_context *ctx, in mbedtls_des3_set3key_dec()
694 int mbedtls_des3_crypt_ecb(mbedtls_des3_context *ctx, in mbedtls_des3_crypt_ecb()
736 int mbedtls_des3_crypt_cbc(mbedtls_des3_context *ctx, in mbedtls_des3_crypt_cbc()
[all …]
Dcipher_wrap.c1509 return mbedtls_des3_crypt_ecb((mbedtls_des3_context *) ctx, input, output); in des3_crypt_ecb_wrap()
1525 return mbedtls_des3_crypt_cbc((mbedtls_des3_context *) ctx, operation, length, iv, input, in des3_crypt_cbc_wrap()
1551 return mbedtls_des3_set2key_dec((mbedtls_des3_context *) ctx, key); in des3_set2key_dec_wrap()
1559 return mbedtls_des3_set2key_enc((mbedtls_des3_context *) ctx, key); in des3_set2key_enc_wrap()
1567 return mbedtls_des3_set3key_dec((mbedtls_des3_context *) ctx, key); in des3_set3key_dec_wrap()
1575 return mbedtls_des3_set3key_enc((mbedtls_des3_context *) ctx, key); in des3_set3key_enc_wrap()
1599 mbedtls_des3_context *des3; in des3_ctx_alloc()
1600 des3 = mbedtls_calloc(1, sizeof(mbedtls_des3_context)); in des3_ctx_alloc()
1613 mbedtls_des3_free((mbedtls_des3_context *) ctx); in des3_ctx_free()
Dpem.c295 mbedtls_des3_context des3_ctx; in pem_des3_decrypt()
/third_party/mbedtls/tests/include/alt-dummy/
Ddes_alt.h28 typedef struct mbedtls_des3_context { struct
31 mbedtls_des3_context; typedef
/third_party/mbedtls/tests/suites/
Dtest_suite_des.function113 mbedtls_des3_context ctx;
141 mbedtls_des3_context ctx;
170 mbedtls_des3_context ctx;
204 mbedtls_des3_context ctx;
/third_party/mbedtls/programs/test/
Dbenchmark.c652 mbedtls_des3_context des3; in main()