Home
last modified time | relevance | path

Searched refs:c_mode (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/crypto/hisilicon/sec/
A Dsec_algs.c24 unsigned c_mode : 3; member
32 .c_mode = SEC_C_MODE_ECB,
37 .c_mode = SEC_C_MODE_CBC,
42 .c_mode = SEC_C_MODE_ECB,
47 .c_mode = SEC_C_MODE_ECB,
52 .c_mode = SEC_C_MODE_CBC,
57 .c_mode = SEC_C_MODE_CBC,
62 .c_mode = SEC_C_MODE_ECB,
67 .c_mode = SEC_C_MODE_ECB,
72 .c_mode = SEC_C_MODE_ECB,
[all …]
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c732 if (c_mode == SEC_CMODE_XTS) { in sec_skcipher_aes_sm4_setkey()
782 if (c_mode == SEC_CMODE_XTS) { in sec_skcipher_setkey()
791 c_ctx->c_mode = c_mode; in sec_skcipher_setkey()
1108 c_ctx->c_mode = c_mode; in sec_aead_setkey()
1110 if (c_mode == SEC_CMODE_CCM || c_mode == SEC_CMODE_GCM) { in sec_aead_setkey()
1293 c_ctx->c_mode; in sec_skcipher_bd_fill_v3()
1966 u8 c_mode = ctx->c_ctx.c_mode; in sec_skcipher_cryptlen_ckeck() local
1969 switch (c_mode) { in sec_skcipher_cryptlen_ckeck()
2204 u8 c_mode = ctx->c_ctx.c_mode; in sec_aead_spec_check() local
2221 if (c_mode == SEC_CMODE_CCM) { in sec_aead_spec_check()
[all …]
A Dsec.h106 u8 c_mode; member
/linux/Documentation/driver-api/early-userspace/
A Dbuffer-format.rst60 c_mode 8 bytes File mode and permissions
75 The c_mode field matches the contents of st_mode returned by stat(2)

Completed in 14 milliseconds