Home
last modified time | relevance | path

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

/security/keys/trusted-keys/
A Dtrusted_dcp.c134 struct crypto_aead *aead; in do_aead_crypto() local
138 aead = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC); in do_aead_crypto()
139 if (IS_ERR(aead)) { in do_aead_crypto()
140 ret = PTR_ERR(aead); in do_aead_crypto()
144 ret = crypto_aead_setauthsize(aead, DCP_BLOB_AUTHLEN); in do_aead_crypto()
150 aead_req = aead_request_alloc(aead, GFP_KERNEL); in do_aead_crypto()
171 if (crypto_aead_setkey(aead, key, AES_KEYSIZE_128)) { in do_aead_crypto()
185 crypto_free_aead(aead); in do_aead_crypto()

Completed in 3 milliseconds