Home
last modified time | relevance | path

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

/mbedtls-latest/include/mbedtls/
Dcamellia.h41 typedef struct mbedtls_camellia_context { struct
45 mbedtls_camellia_context; typedef
57 void mbedtls_camellia_init(mbedtls_camellia_context *ctx);
66 void mbedtls_camellia_free(mbedtls_camellia_context *ctx);
80 int mbedtls_camellia_setkey_enc(mbedtls_camellia_context *ctx,
97 int mbedtls_camellia_setkey_dec(mbedtls_camellia_context *ctx,
117 int mbedtls_camellia_crypt_ecb(mbedtls_camellia_context *ctx,
151 int mbedtls_camellia_crypt_cbc(mbedtls_camellia_context *ctx,
197 int mbedtls_camellia_crypt_cfb128(mbedtls_camellia_context *ctx,
281 int mbedtls_camellia_crypt_ctr(mbedtls_camellia_context *ctx,
Dblock_cipher.h67 mbedtls_camellia_context MBEDTLS_PRIVATE(camellia);
/mbedtls-latest/library/
Dcamellia.c274 void mbedtls_camellia_init(mbedtls_camellia_context *ctx) in mbedtls_camellia_init()
276 memset(ctx, 0, sizeof(mbedtls_camellia_context)); in mbedtls_camellia_init()
279 void mbedtls_camellia_free(mbedtls_camellia_context *ctx) in mbedtls_camellia_free()
285 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_camellia_context)); in mbedtls_camellia_free()
291 int mbedtls_camellia_setkey_enc(mbedtls_camellia_context *ctx, in mbedtls_camellia_setkey_enc()
403 int mbedtls_camellia_setkey_dec(mbedtls_camellia_context *ctx, in mbedtls_camellia_setkey_dec()
409 mbedtls_camellia_context cty; in mbedtls_camellia_setkey_dec()
453 int mbedtls_camellia_crypt_ecb(mbedtls_camellia_context *ctx, in mbedtls_camellia_crypt_ecb()
519 int mbedtls_camellia_crypt_cbc(mbedtls_camellia_context *ctx, in mbedtls_camellia_crypt_cbc()
569 int mbedtls_camellia_crypt_cfb128(mbedtls_camellia_context *ctx, in mbedtls_camellia_crypt_cfb128()
[all …]
Dcipher_wrap.c780 return mbedtls_camellia_crypt_ecb((mbedtls_camellia_context *) ctx, operation, input, in camellia_crypt_ecb_wrap()
789 return mbedtls_camellia_crypt_cbc((mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap()
799 return mbedtls_camellia_crypt_cfb128((mbedtls_camellia_context *) ctx, operation, length, in camellia_crypt_cfb128_wrap()
809 return mbedtls_camellia_crypt_ctr((mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap()
818 return mbedtls_camellia_setkey_dec((mbedtls_camellia_context *) ctx, key, key_bitlen); in camellia_setkey_dec_wrap()
825 return mbedtls_camellia_setkey_enc((mbedtls_camellia_context *) ctx, key, key_bitlen); in camellia_setkey_enc_wrap()
830 mbedtls_camellia_context *ctx; in camellia_ctx_alloc()
831 ctx = mbedtls_calloc(1, sizeof(mbedtls_camellia_context)); in camellia_ctx_alloc()
844 mbedtls_camellia_free((mbedtls_camellia_context *) ctx); in camellia_ctx_free()
/mbedtls-latest/tests/suites/
Dtest_suite_camellia.function13 mbedtls_camellia_context ctx;
51 mbedtls_camellia_context ctx;
75 mbedtls_camellia_context ctx;
99 mbedtls_camellia_context ctx;
125 mbedtls_camellia_context ctx;
150 mbedtls_camellia_context ctx;
174 mbedtls_camellia_context ctx;
/mbedtls-latest/tests/include/alt-dummy/
Dcamellia_alt.h10 typedef struct mbedtls_camellia_context { struct
13 mbedtls_camellia_context; argument
/mbedtls-latest/programs/test/
Dbenchmark.c939 mbedtls_camellia_context camellia; in main()