| /OK3568_Linux_fs/kernel/drivers/crypto/mediatek/ |
| H A D | mtk-aes.c | 221 static inline void mtk_aes_set_mode(struct mtk_aes_rec *aes, in mtk_aes_set_mode() argument 225 aes->flags = (aes->flags & AES_FLAGS_BUSY) | rctx->mode; in mtk_aes_set_mode() 246 struct mtk_aes_rec *aes, in mtk_aes_complete() argument 249 aes->flags &= ~AES_FLAGS_BUSY; in mtk_aes_complete() 250 aes->areq->complete(aes->areq, err); in mtk_aes_complete() 252 tasklet_schedule(&aes->queue_task); in mtk_aes_complete() 260 static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_xmit() argument 262 struct mtk_ring *ring = cryp->ring[aes->id]; in mtk_aes_xmit() 264 struct scatterlist *ssg = aes->src.sg, *dsg = aes->dst.sg; in mtk_aes_xmit() 265 u32 slen = aes->src.sg_len, dlen = aes->dst.sg_len; in mtk_aes_xmit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-cmac.c | 69 if (!ctx->u.aes.key_len) in ccp_do_cmac_update() 153 cmac_key_sg = (need_pad) ? &ctx->u.aes.k2_sg in ccp_do_cmac_update() 154 : &ctx->u.aes.k1_sg; in ccp_do_cmac_update() 159 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_do_cmac_update() 160 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_do_cmac_update() 161 rctx->cmd.u.aes.action = CCP_AES_ACTION_ENCRYPT; in ccp_do_cmac_update() 162 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_do_cmac_update() 163 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_do_cmac_update() 164 rctx->cmd.u.aes.iv = &rctx->iv_sg; in ccp_do_cmac_update() 165 rctx->cmd.u.aes.iv_len = AES_BLOCK_SIZE; in ccp_do_cmac_update() [all …]
|
| H A D | ccp-crypto-aes-galois.c | 36 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_gcm_setkey() 39 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_gcm_setkey() 42 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_gcm_setkey() 48 ctx->u.aes.mode = CCP_AES_MODE_GCM; in ccp_aes_gcm_setkey() 49 ctx->u.aes.key_len = key_len; in ccp_aes_gcm_setkey() 51 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_gcm_setkey() 52 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_gcm_setkey() 86 if (!ctx->u.aes.key_len) in ccp_aes_gcm_crypt() 89 if (ctx->u.aes.mode != CCP_AES_MODE_GCM) in ccp_aes_gcm_crypt() 119 rctx->cmd.u.aes.authsize = crypto_aead_authsize(tfm); in ccp_aes_gcm_crypt() [all …]
|
| H A D | ccp-crypto-aes.c | 31 if (ctx->u.aes.mode != CCP_AES_MODE_ECB) in ccp_aes_complete() 45 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_setkey() 48 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_setkey() 51 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_setkey() 56 ctx->u.aes.mode = alg->mode; in ccp_aes_setkey() 57 ctx->u.aes.key_len = key_len; in ccp_aes_setkey() 59 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_setkey() 60 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey() 74 if (!ctx->u.aes.key_len) in ccp_aes_crypt() 77 if (((ctx->u.aes.mode == CCP_AES_MODE_ECB) || in ccp_aes_crypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/ |
| H A D | aes-ccm.c | 28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 73 aes_encrypt(aes, x, x); in aes_ccm_auth() 79 aes_encrypt(aes, x, x); in aes_ccm_auth() 92 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 102 aes_encrypt(aes, a, out); in aes_ccm_encr() 109 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 158 aes_encrypt(aes, cb, ypos); in aes_gctr() 168 aes_encrypt(aes, cb, tmp); in aes_gctr() 177 void *aes; in aes_gcm_init_hash_subkey() local 179 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 180 if (aes == NULL) in aes_gcm_init_hash_subkey() 185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 188 return aes; in aes_gcm_init_hash_subkey() 215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 225 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/ |
| H A D | aes-ccm.c | 28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 73 aes_encrypt(aes, x, x); in aes_ccm_auth() 79 aes_encrypt(aes, x, x); in aes_ccm_auth() 92 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 102 aes_encrypt(aes, a, out); in aes_ccm_encr() 109 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 158 aes_encrypt(aes, cb, ypos); in aes_gctr() 168 aes_encrypt(aes, cb, tmp); in aes_gctr() 177 void *aes; in aes_gcm_init_hash_subkey() local 179 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 180 if (aes == NULL) in aes_gcm_init_hash_subkey() 185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 188 return aes; in aes_gcm_init_hash_subkey() 215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 225 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| H A D | aes-gcm.c | 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 157 aes_encrypt(aes, cb, ypos); in aes_gctr() 167 aes_encrypt(aes, cb, tmp); in aes_gctr() 176 void *aes; in aes_gcm_init_hash_subkey() local 178 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey() 179 if (aes == NULL) in aes_gcm_init_hash_subkey() 184 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey() 187 return aes; in aes_gcm_init_hash_subkey() 214 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument 224 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/ |
| H A D | aes-ccm.c | 27 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument 43 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start() 53 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start() 58 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start() 63 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument 72 aes_encrypt(aes, x, x); in aes_ccm_auth() 78 aes_encrypt(aes, x, x); in aes_ccm_auth() 91 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument 101 aes_encrypt(aes, a, out); in aes_ccm_encr() 108 aes_encrypt(aes, a, out); in aes_ccm_encr() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | Makefile | 32 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o 33 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o 35 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o 36 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o 38 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o 39 aes-ce-blk-y := aes-glue-ce.o aes-ce.o 41 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o 42 aes-neon-blk-y := aes-glue-neon.o aes-neon.o 60 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o 61 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o [all …]
|
| H A D | Kbuild.fips140 | 11 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o 12 aes-ce-blk-y := aes-glue-ce.o aes-ce.o 13 aes-neon-blk-y := aes-glue-neon.o aes-neon.o 16 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o 17 aes-neon-bs-y := aes-neonbs-core.o aes-neonbs-glue.o 21 aes-ce-cipher.o aes-ce-blk.o aes-neon-blk.o \ 22 sha256-arm64.o sha512-arm64.o aes-arm64.o \ 23 aes-neon-bs.o 29 $(obj)/aes-glue-%-fips-arch.o: KBUILD_CFLAGS += $(FIPS140_CFLAGS) 30 $(obj)/aes-glue-%-fips-arch.o: $(crypto-arm64-fips-src)/aes-glue.c FORCE
|