Lines Matching refs:pubkey
43 char *pubkey;
734 if (unlikely(!ctx->rsa.pubkey))
832 ctx->rsa.pubkey = dma_alloc_coherent(HPRE_DEV(ctx), vlen << 1,
835 if (!ctx->rsa.pubkey)
844 ctx->rsa.pubkey,
846 ctx->rsa.pubkey = NULL;
851 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen);
867 memcpy(ctx->rsa.pubkey + ctx->key_sz - vlen, ptr, vlen);
968 if (ctx->rsa.pubkey) {
970 ctx->rsa.pubkey, ctx->rsa.dma_pubkey);
971 ctx->rsa.pubkey = NULL;
1042 if ((private && !ctx->rsa.prikey) || !ctx->rsa.pubkey) {