Home
last modified time | relevance | path

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

/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_crypt.c703 uint8_t * padded_input; in lanplus_encrypt_payload() local
728 padded_input = (uint8_t*)malloc(input_length + pad_length + 1); in lanplus_encrypt_payload()
729 if (padded_input == NULL) { in lanplus_encrypt_payload()
733 memcpy(padded_input, input, input_length); in lanplus_encrypt_payload()
737 padded_input[input_length + i] = i + 1; in lanplus_encrypt_payload()
740 padded_input[input_length + pad_length] = pad_length; in lanplus_encrypt_payload()
746 if (padded_input != NULL) { in lanplus_encrypt_payload()
747 free(padded_input); in lanplus_encrypt_payload()
748 padded_input = NULL; in lanplus_encrypt_payload()
769 free(padded_input); in lanplus_encrypt_payload()
[all …]