Searched refs:sm4_context (Results 1 – 5 of 5) sorted by relevance
/optee_os/core/crypto/ |
A D | sm4.h | 14 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 D | sm4.c | 186 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 D | sm4-ecb.c | 18 struct sm4_context state;
|
A D | sm4-ctr.c | 19 struct sm4_context state;
|
A D | sm4-cbc.c | 19 struct sm4_context state;
|
Completed in 6 milliseconds