Home
last modified time | relevance | path

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

/security/keys/encrypted-keys/
Dencrypted.c478 unsigned int encrypted_datalen; in derived_key_encrypt() local
483 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_encrypt()
484 padlen = encrypted_datalen - epayload->decrypted_datalen; 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()
506 dump_encrypted_data(epayload, encrypted_datalen); in derived_key_encrypt()
576 unsigned int encrypted_datalen; in derived_key_decrypt() local
580 encrypted_datalen = roundup(epayload->decrypted_datalen, blksize); in derived_key_decrypt()
585 dump_encrypted_data(epayload, encrypted_datalen); in derived_key_decrypt()
590 sg_set_buf(sg_in, epayload->encrypted_data, encrypted_datalen); in derived_key_decrypt()
[all …]
Dencrypted.h33 unsigned int encrypted_datalen) in dump_encrypted_data() argument
36 epayload->encrypted_data, encrypted_datalen, 0); in dump_encrypted_data()
57 unsigned int encrypted_datalen) in dump_encrypted_data() argument