Lines Matching defs:public_key
33 * @public_key : generated when calling set_secret(). It's the responsibility
43 const u8 *public_key;
82 void *public_key;
87 kfree(ctx->public_key);
89 ctx->public_key = NULL;
111 public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL);
112 if (!public_key)
124 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE);
125 ctx->public_key = public_key;
131 kfree(public_key);
149 if (!ctx->public_key)
158 ctx->public_key, nbytes);
277 kfree(ctx->public_key);