crypto_public_key_encrypt_pkcs1_v15() function
crypto_public_key_encrypt_pkcs1_v15 - Public key encryption (PKCS #1 v1.5) @key: Public key @in: Plaintext buffer @inlen: Length of plaintext buffer in bytes @out: Output buffer for encrypted data @outlen: Length of output buffer in bytes; set to used length on success Returns: 0 on success, -1 on failure This function is only used with internal TLSv1 implementation (CONFIG_TLS=internal). If that is not used, the crypto wrapper does not need to implement this.