Lines Matching defs:public_key
33 * @public_key : generated when calling set_secret(). It's the responsibility
44 const u8 *public_key;
93 void *public_key;
98 kfree(ctx->public_key);
100 ctx->public_key = NULL;
123 public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL);
124 if (!public_key)
137 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE);
138 ctx->public_key = public_key;
144 kfree(public_key);
162 if (!ctx->public_key)
171 ctx->public_key, nbytes);
289 kfree(ctx->public_key);