Lines Matching refs:server_public_key_len
723 size_t server_public_key_len = (size_t) RSA_size(server_public_key); in mysqlnd_sha256_public_encrypt() local
731 if (server_public_key_len <= passwd_len + 41) { in mysqlnd_sha256_public_encrypt()
739 *auth_data_len = server_public_key_len; in mysqlnd_sha256_public_encrypt()
795 DWORD server_public_key_len = passwd_len; in mysqlnd_sha256_public_encrypt() local
803 NULL, 0, NULL, 0, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_sha256_public_encrypt()
812 if ((size_t) server_public_key_len <= passwd_len + 41) { in mysqlnd_sha256_public_encrypt()
820 *auth_data_len = server_public_key_len; in mysqlnd_sha256_public_encrypt()
823 NULL, 0, ret, server_public_key_len, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_sha256_public_encrypt()
1016 size_t server_public_key_len = (size_t) RSA_size(server_public_key); in mysqlnd_caching_sha2_public_encrypt() local
1024 if (server_public_key_len <= passwd_len + 41) { in mysqlnd_caching_sha2_public_encrypt()
1032 *crypted = emalloc(server_public_key_len); in mysqlnd_caching_sha2_public_encrypt()
1035 DBG_RETURN(server_public_key_len); in mysqlnd_caching_sha2_public_encrypt()
1045 DWORD server_public_key_len = passwd_len; in mysqlnd_caching_sha2_public_encrypt() local
1053 NULL, 0, NULL, 0, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_caching_sha2_public_encrypt()
1062 if ((size_t) server_public_key_len <= passwd_len + 41) { in mysqlnd_caching_sha2_public_encrypt()
1070 *crypted = emalloc(server_public_key_len); in mysqlnd_caching_sha2_public_encrypt()
1072 NULL, 0, *crypted, server_public_key_len, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_caching_sha2_public_encrypt()
1077 DBG_RETURN(server_public_key_len); in mysqlnd_caching_sha2_public_encrypt()
1201 int server_public_key_len; in mysqlnd_caching_sha2_get_and_use_key() local
1207 …server_public_key_len = mysqlnd_caching_sha2_public_encrypt(conn, server_public_key, passwd_len, c… in mysqlnd_caching_sha2_get_and_use_key()
1209 DBG_RETURN(server_public_key_len); in mysqlnd_caching_sha2_get_and_use_key()