pkcs7_encode
int pkcs7_encode(uint8_t *databuf, size_t datalen, uint8_t *padbuf,
(void) pkcs7_encode(NULL, data_len, buf, block_size, block_size);