Searched refs:hex_encoded_iv (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/security/keys/encrypted-keys/ |
H A D | encrypted.c | 173 char **hex_encoded_iv) in datablob_parse() 242 *hex_encoded_iv = strsep(&datablob, " \t"); in datablob_parse() 243 if (!*hex_encoded_iv) { in datablob_parse() 656 const char *format, const char *hex_encoded_iv) in encrypted_key_decrypt() 670 if (strlen(hex_encoded_iv) != asciilen) in encrypted_key_decrypt() 673 hex_encoded_data = hex_encoded_iv + (2 * ivsize) + 2; in encrypted_key_decrypt() 674 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt() 749 const char *hex_encoded_iv) in encrypted_init() 763 if (!hex_encoded_iv) { in encrypted_init() 769 ret = encrypted_key_decrypt(epayload, format, hex_encoded_iv); in encrypted_init() 171 datablob_parse(char *datablob, const char **format, char **master_desc, char **decrypted_datalen, char **hex_encoded_iv) datablob_parse() argument 655 encrypted_key_decrypt(struct encrypted_key_payload *epayload, const char *format, const char *hex_encoded_iv) encrypted_key_decrypt() argument 746 encrypted_init(struct encrypted_key_payload *epayload, const char *key_desc, const char *format, const char *master_desc, const char *datalen, const char *hex_encoded_iv) encrypted_init() argument 789 char *hex_encoded_iv = NULL; encrypted_instantiate() local [all...] |
/kernel/linux/linux-6.6/security/keys/encrypted-keys/ |
H A D | encrypted.c | 178 char **hex_encoded_iv, char **decrypted_data) in datablob_parse() 248 *hex_encoded_iv = strsep(&datablob, " \t"); in datablob_parse() 249 if (!*hex_encoded_iv) { in datablob_parse() 682 const char *format, const char *hex_encoded_iv) in encrypted_key_decrypt() 696 if (strlen(hex_encoded_iv) != asciilen) in encrypted_key_decrypt() 699 hex_encoded_data = hex_encoded_iv + (2 * ivsize) + 2; in encrypted_key_decrypt() 700 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt() 776 const char *hex_encoded_iv, const char *decrypted_data) in encrypted_init() 790 if (hex_encoded_iv) { in encrypted_init() 791 ret = encrypted_key_decrypt(epayload, format, hex_encoded_iv); in encrypted_init() 176 datablob_parse(char *datablob, const char **format, char **master_desc, char **decrypted_datalen, char **hex_encoded_iv, char **decrypted_data) datablob_parse() argument 681 encrypted_key_decrypt(struct encrypted_key_payload *epayload, const char *format, const char *hex_encoded_iv) encrypted_key_decrypt() argument 773 encrypted_init(struct encrypted_key_payload *epayload, const char *key_desc, const char *format, const char *master_desc, const char *datalen, const char *hex_encoded_iv, const char *decrypted_data) encrypted_init() argument 821 char *hex_encoded_iv = NULL; encrypted_instantiate() local [all...] |
Completed in 3 milliseconds