Lines Matching refs:keylen
127 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in software_key_query()
131 memcpy(key, pkey->key, pkey->keylen); in software_key_query()
132 ptr = key + pkey->keylen; in software_key_query()
138 ret = crypto_akcipher_set_priv_key(tfm, key, pkey->keylen); in software_key_query()
140 ret = crypto_akcipher_set_pub_key(tfm, key, pkey->keylen); in software_key_query()
197 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in software_key_eds_op()
202 memcpy(key, pkey->key, pkey->keylen); in software_key_eds_op()
203 ptr = key + pkey->keylen; in software_key_eds_op()
209 ret = crypto_akcipher_set_priv_key(tfm, key, pkey->keylen); in software_key_eds_op()
211 ret = crypto_akcipher_set_pub_key(tfm, key, pkey->keylen); in software_key_eds_op()
343 key = kmalloc(pkey->keylen + sizeof(u32) * 2 + pkey->paramlen, in public_key_verify_signature()
348 memcpy(key, pkey->key, pkey->keylen); in public_key_verify_signature()
349 ptr = key + pkey->keylen; in public_key_verify_signature()
355 ret = crypto_akcipher_set_priv_key(tfm, key, pkey->keylen); in public_key_verify_signature()
357 ret = crypto_akcipher_set_pub_key(tfm, key, pkey->keylen); in public_key_verify_signature()