Home
last modified time | relevance | path

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

/security/keys/encrypted-keys/
Dencrypted.c475 struct scatterlist sg_in[2]; in derived_key_encrypt() local
493 sg_init_table(sg_in, 2); in derived_key_encrypt()
494 sg_set_buf(&sg_in[0], epayload->decrypted_data, in derived_key_encrypt()
496 sg_set_buf(&sg_in[1], pad, padlen); in derived_key_encrypt()
501 ret = crypto_blkcipher_encrypt(&desc, sg_out, sg_in, encrypted_datalen); in derived_key_encrypt()
573 struct scatterlist sg_in[1]; in derived_key_decrypt() local
588 sg_init_table(sg_in, 1); in derived_key_decrypt()
590 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); in derived_key_decrypt()
595 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in, encrypted_datalen); in derived_key_decrypt()