Lines Matching refs:plain
136 u8 *plain, size_t *plain_len)
142 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
157 plain[0] != 0x00 || plain[1] != 0x01) {
163 pos = plain + 3;
165 if (plain[2] != 0xff) {
170 while (pos < plain + len && *pos == 0xff)
173 if (pos - plain - 2 < 8) {
180 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) {
186 len -= pos - plain;
189 os_memmove(plain, pos, len);