Home
last modified time | relevance | path

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

/openssl/crypto/rsa/
H A Drsa_pk1.c177 unsigned char *em = NULL; in RSA_padding_check_PKCS1_type_2() local
194 em = OPENSSL_malloc(num); in RSA_padding_check_PKCS1_type_2()
195 if (em == NULL) in RSA_padding_check_PKCS1_type_2()
203 for (from += flen, em += num, i = 0; i < num; i++) { in RSA_padding_check_PKCS1_type_2()
207 *--em = *from & mask; in RSA_padding_check_PKCS1_type_2()
210 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2()
211 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2()
216 unsigned int equals0 = constant_time_is_zero(em[i]); in RSA_padding_check_PKCS1_type_2()
257 em[i] = constant_time_select_8(mask, em[i + msg_index], em[i]); in RSA_padding_check_PKCS1_type_2()
261 to[i] = constant_time_select_8(mask, em[i + RSA_PKCS1_PADDING_SIZE], to[i]); in RSA_padding_check_PKCS1_type_2()
[all …]
H A Drsa_oaep.c181 unsigned char *db = NULL, *em = NULL, seed[EVP_MAX_MD_SIZE], in RSA_padding_check_PKCS1_OAEP_mgf1() local
231 em = OPENSSL_malloc(num); in RSA_padding_check_PKCS1_OAEP_mgf1()
232 if (em == NULL) in RSA_padding_check_PKCS1_OAEP_mgf1()
241 for (from += flen, em += num, i = 0; i < num; i++) { in RSA_padding_check_PKCS1_OAEP_mgf1()
245 *--em = *from & mask; in RSA_padding_check_PKCS1_OAEP_mgf1()
253 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
255 maskedseed = em + 1; in RSA_padding_check_PKCS1_OAEP_mgf1()
256 maskeddb = em + 1 + mdlen; in RSA_padding_check_PKCS1_OAEP_mgf1()
338 OPENSSL_clear_free(em, num); in RSA_padding_check_PKCS1_OAEP_mgf1()
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_rsa_common.txt584 dlxa1A1agfm73OJSftfpUAjLECnLTKvR+em+38KGyWVSJV2n6rGSF473AoGBAN7H

Completed in 19 milliseconds