crypto_public_key_import() function
crypto_public_key_import - Import an RSA public key @key: Key buffer (DER encoded RSA public key) @len: Key buffer length in bytes Returns: Pointer to the public key or %NULL on failure This function can just return %NULL if the crypto library supports X.509 parsing. In that case, crypto_public_key_from_cert() is used to import the public key from a certificate. 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.
crypto_public_key_import() is called by 2 functions and calls 4 functions:
![]()
crypto_public_key_import()
crypto_public_key_import():
![]()
crypto_public_key_import()
crypto_public_key_import() allocates 1 types and frees 1 types:
![]()
crypto_public_key_import()