Searched refs:pad_length (Results 1 – 2 of 2) sorted by relevance
705 uint8_t pad_length = 0; in lanplus_encrypt_payload() local726 pad_length = IPMI_CRYPT_AES_CBC_128_BLOCK_SIZE - mod; in lanplus_encrypt_payload()728 padded_input = (uint8_t*)malloc(input_length + pad_length + 1); in lanplus_encrypt_payload()736 for (i = 0; i < pad_length; ++i) in lanplus_encrypt_payload()740 padded_input[input_length + pad_length] = pad_length; in lanplus_encrypt_payload()761 input_length + pad_length + 1, /* Input length */ in lanplus_encrypt_payload()
133 int pad_length = block_size - (len & (block_size - 1)); in ccp_do_cmac_update() local135 rctx->hash_cnt += pad_length; in ccp_do_cmac_update()139 sg_init_one(&rctx->pad_sg, rctx->pad, pad_length); in ccp_do_cmac_update()