Searched refs:half_key_sz (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 1072 unsigned int half_key_sz = ctx->key_sz / 2; in qat_rsa_setkey_crt() local 1080 ctx->p = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_p, GFP_KERNEL); in qat_rsa_setkey_crt() 1083 memcpy(ctx->p + (half_key_sz - len), ptr, len); in qat_rsa_setkey_crt() 1091 ctx->q = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_q, GFP_KERNEL); in qat_rsa_setkey_crt() 1094 memcpy(ctx->q + (half_key_sz - len), ptr, len); in qat_rsa_setkey_crt() 1102 ctx->dp = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_dp, in qat_rsa_setkey_crt() 1106 memcpy(ctx->dp + (half_key_sz - len), ptr, len); in qat_rsa_setkey_crt() 1114 ctx->dq = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_dq, in qat_rsa_setkey_crt() 1118 memcpy(ctx->dq + (half_key_sz - len), ptr, len); in qat_rsa_setkey_crt() 1126 ctx->qinv = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_qinv, in qat_rsa_setkey_crt() [all …]
|