Home
last modified time | relevance | path

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

/security/keys/encrypted-keys/
Dencrypted.c476 struct scatterlist sg_out[1]; in derived_key_encrypt() local
498 sg_init_table(sg_out, 1); in derived_key_encrypt()
499 sg_set_buf(sg_out, epayload->encrypted_data, encrypted_datalen); in derived_key_encrypt()
501 ret = crypto_blkcipher_encrypt(&desc, sg_out, sg_in, encrypted_datalen); in derived_key_encrypt()
574 struct scatterlist sg_out[2]; in derived_key_decrypt() local
589 sg_init_table(sg_out, 2); in derived_key_decrypt()
591 sg_set_buf(&sg_out[0], epayload->decrypted_data, in derived_key_decrypt()
593 sg_set_buf(&sg_out[1], pad, sizeof pad); in derived_key_decrypt()
595 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in, encrypted_datalen); in derived_key_decrypt()