Lines Matching full: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) {
160 wpa_hexdump_key(MSG_DEBUG, "Signature EB", plain, len);
164 pos = plain + 3;
166 if (plain[2] != 0xff) {
169 wpa_hexdump_key(MSG_DEBUG, "Signature EB", plain, len);
172 while (pos < plain + len && *pos == 0xff)
175 if (pos - plain - 2 < 8) {
179 wpa_hexdump_key(MSG_DEBUG, "Signature EB", plain, len);
183 if (pos + 16 /* min hash len */ >= plain + len || *pos != 0x00) {
186 wpa_hexdump_key(MSG_DEBUG, "Signature EB", plain, len);
190 len -= pos - plain;
193 os_memmove(plain, pos, len);