Lines Matching refs:modulus
317 sec_rsa_encrypt(uint8 * out, uint8 * in, int len, uint32 modulus_size, uint8 * modulus,
320 rdssl_rsa_encrypt(out, in, len, modulus_size, modulus, exponent);
505 sec_parse_public_key(STREAM s, uint8 * modulus, uint8 * exponent)
526 in_uint8a(s, modulus, modulus_len);
535 sec_parse_public_sig(STREAM s, uint32 len, uint8 * modulus, uint8 * exponent)
547 return rdssl_sig_ok(exponent, SEC_EXPONENT_SIZE, modulus, g_server_public_key_len,
554 uint8 ** server_random, uint8 * modulus, uint8 * exponent)
603 if (!sec_parse_public_key(s, modulus, exponent))
610 if (!sec_parse_public_sig(s, length, modulus, exponent))
705 modulus, SEC_MAX_MODULUS_SIZE) != 0)
707 error("Problem extracting RSA exponent, modulus");
722 uint8 modulus[SEC_MAX_MODULUS_SIZE];
726 memset(modulus, 0, sizeof(modulus));
728 if (!sec_parse_crypt_info(s, &rc4_key_size, &server_random, modulus, exponent))
736 g_server_public_key_len, modulus, exponent);