Home
last modified time | relevance | path

Searched refs:sm4_context (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/crypto/
A Dsm4.h14 struct sm4_context { struct
19 void sm4_setkey_enc(struct sm4_context *ctx, const uint8_t key[16]); argument
20 void sm4_setkey_dec(struct sm4_context *ctx, const uint8_t key[16]);
21 void sm4_crypt_ecb(struct sm4_context *ctx, size_t length, const uint8_t *input,
23 void sm4_crypt_cbc(struct sm4_context *ctx, size_t length, uint8_t iv[16],
25 void sm4_crypt_ctr(struct sm4_context *ctx, size_t length, uint8_t ctr[16],
A Dsm4.c186 void sm4_setkey_enc(struct sm4_context *ctx, const uint8_t key[16]) in sm4_setkey_enc()
192 void sm4_setkey_dec(struct sm4_context *ctx, const uint8_t key[16]) in sm4_setkey_dec()
203 void sm4_crypt_ecb(struct sm4_context *ctx, size_t length, const uint8_t *input, in sm4_crypt_ecb()
216 void sm4_crypt_cbc(struct sm4_context *ctx, size_t length, uint8_t iv[16], in sm4_crypt_cbc()
249 void sm4_crypt_ctr(struct sm4_context *ctx, size_t length, uint8_t ctr[16], in sm4_crypt_ctr()
A Dsm4-ecb.c18 struct sm4_context state;
A Dsm4-ctr.c19 struct sm4_context state;
A Dsm4-cbc.c19 struct sm4_context state;

Completed in 6 milliseconds