Lines Matching defs:em
172 /* |em| is the encoded message, zero-padded to exactly |num| bytes */
173 unsigned char *em = NULL;
190 em = OPENSSL_malloc(num);
191 if (em == NULL) {
201 for (from += flen, em += num, i = 0; i < num; i++) {
205 *--em = *from & mask;
208 good = constant_time_is_zero(em[0]);
209 good &= constant_time_eq(em[1], 2);
214 unsigned int equals0 = constant_time_is_zero(em[i]);
222 * PS must be at least 8 bytes long, and it starts two bytes into |em|.
242 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|.
255 em[i] = constant_time_select_8(mask, em[i + msg_index], em[i]);
259 to[i] = constant_time_select_8(mask, em[i + RSA_PKCS1_PADDING_SIZE], to[i]);
262 OPENSSL_clear_free(em, num);