middleware/wolfssl_3.9.8/wolfcrypt/src/curve25519.c
/* curve25519 private key import (Big or Little endian)
 * Public key to match private key needs to be imported too
 * return 0 on success */
curve25519 private key import (Big or Little endian)
Public key to match private key needs to be imported too
return 0 on success
curve25519 private key import ( Big or Little endian ) Public key to match private key needs to be imported too return 0 on success
int wc_curve25519_import_private_raw_ex(const byte* priv, word32 privSz,
                                        const byte* pub, word32 pubSz,
                                        curve25519_key* key, int endian)
{
    int ret;
    ret = wc_curve25519_import_private_ex(priv, privSz, key, endian);
    if (ret != 0)
        return ret;
    return wc_curve25519_import_public_ex(pub, pubSz, key, endian);
}
int wc_curve25519_import_private_raw_ex ( const byte * priv , word32 privSz , const byte * pub , word32 pubSz , curve25519_key * key , int endian ) { int ret ; ret = wc_curve25519_import_private_ex ( priv , privSz , key , endian ) ; if ( ret != 0 ) return ret ; return wc_curve25519_import_public_ex ( pub , pubSz , key , endian ) ; }
curve25519 private key import (Big or Little endian)
 Public key to match private key needs to be imported too
 return 0 on success
curve25519 private key import ( Big or Little endian ) Public key to match private key needs to be imported too return 0 on success
/* import private part */ /* import public part */