Lines Matching refs:iv
174 desc.info = nx_ctx->priv.gcm.iv; in gcm_aes_nx_crypt()
264 char *iv = nx_ctx->priv.gcm.iv; in gcm_aes_nx_encrypt() local
266 memcpy(iv, req->iv, 12); in gcm_aes_nx_encrypt()
274 char *iv = nx_ctx->priv.gcm.iv; in gcm_aes_nx_decrypt() local
276 memcpy(iv, req->iv, 12); in gcm_aes_nx_decrypt()
284 char *iv = nx_ctx->priv.gcm.iv; in gcm4106_aes_nx_encrypt() local
287 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_encrypt()
288 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_encrypt()
296 char *iv = nx_ctx->priv.gcm.iv; in gcm4106_aes_nx_decrypt() local
299 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_decrypt()
300 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_decrypt()