Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 3 of 3) sorted by relevance

/crypto/asymmetric_keys/
Dasymmetric_type.c531 key_serial_t serial; in asymmetric_lookup_restriction() local
547 if (kstrtos32(key_text, 0, &serial) < 0) in asymmetric_lookup_restriction()
550 if ((serial == 0) && allow_null_key) { in asymmetric_lookup_restriction()
553 key = key_lookup(serial); in asymmetric_lookup_restriction()
/crypto/
Daf_alg.c275 static struct key *lookup_key(key_serial_t serial) in lookup_key() argument
279 key_ref = lookup_user_key(serial, 0, KEY_NEED_SEARCH); in lookup_key()
292 key_serial_t serial; in alg_setkey_by_key_serial() local
297 if (optlen != sizeof(serial)) in alg_setkey_by_key_serial()
300 if (copy_from_sockptr(&serial, optval, optlen)) in alg_setkey_by_key_serial()
303 key = lookup_key(serial); in alg_setkey_by_key_serial()
Dpcrypt.c108 padata->serial = pcrypt_aead_serial; in pcrypt_aead_encrypt()
157 padata->serial = pcrypt_aead_serial; in pcrypt_aead_decrypt()