AES_genkey() work