Lines Matching defs:key
35 enum OID algo_oid; /* overall public key oid */
41 unsigned int key_len; /* @key length (bytes) */
42 const char *key; /* raw public key */
89 * same length (256 or 512 bits), public key and signature should be
179 ctx->key = value;
191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key,
200 err = asn1_ber_decoder(&ecrdsa_pub_key_decoder, ctx, key, keylen);
204 /* Key parameters is in the key after keylen. */
206 ecrdsa_unpack_u32(&algo, (u8 *)key + keylen));
242 vli_from_le64(ctx->pub_key.x, ctx->key, ndigits);
243 vli_from_le64(ctx->pub_key.y, ctx->key + ndigits * sizeof(u64),
258 * for keyctl to determine the key bit size.