ó Û_e[c@`s€ddlmZmZmZddlmZddlmZm Z ddl m Z e j ƒZ e jƒZd„Zd„ZdS(i(tabsolute_importtdivisiontprint_function(t exceptions(tffitlib(tensurecC`sQtjdtƒ}tj||ƒ}t|dkddtjƒtj|t ƒS(sŽ Computes and returns the scalar product of a standard group element and an integer ``n``. :param n: bytes :rtype: bytes sunsigned char[]isUnexpected library errortraising( Rtnewtcrypto_scalarmult_BYTESRtcrypto_scalarmult_baseRtexct RuntimeErrortbuffertcrypto_scalarmult_SCALARBYTES(tntqtrc((sA/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_scalarmult.pyR s   cC`sTtjdtƒ}tj|||ƒ}t|dkddtjƒtj|t ƒS(sĄ Computes and returns the scalar product of the given group element and an integer ``n``. :param p: bytes :param n: bytes :rtype: bytes sunsigned char[]isUnexpected library errorR( RRR Rtcrypto_scalarmultRR R R R(RtpRR((sA/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_scalarmult.pyR,s   N(t __future__RRRtnaclRR t nacl._sodiumRRtnacl.exceptionsRtcrypto_scalarmult_bytesR tcrypto_scalarmult_scalarbytesRR R(((sA/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_scalarmult.pyts