Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_depad.c19 unsigned long padded_length, unpadded_length, n; in padding_depad() local
35 unpadded_length = padded_length - pad; in padding_depad()
39 unpadded_length = padded_length; in padding_depad()
47 for (n = unpadded_length; n < padded_length - 1; ++n) { in padding_depad()
58 for (n = unpadded_length; n < padded_length; ++n) { in padding_depad()
63 while (unpadded_length > 0 && data[unpadded_length - 1] != 0x80) { in padding_depad()
65 unpadded_length--; in padding_depad()
68 unpadded_length--; in padding_depad()
73 while (unpadded_length > 0 && data[unpadded_length - 1] == 0x0) { in padding_depad()
74 unpadded_length--; in padding_depad()
[all …]

Completed in 2 milliseconds