Home
last modified time | relevance | path

Searched refs:key_buf (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c598 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len) in crypto_ec_get_publickey_buf() argument
614 os_memcpy(key_buf, buf + MBEDTLS_MPI_MAX_SIZE + 10 - pk_len, pk_len); in crypto_ec_get_publickey_buf()
619 int crypto_write_pubkey_der(struct crypto_key *key, unsigned char **key_buf) in crypto_write_pubkey_der() argument
626 *key_buf = os_malloc(len); in crypto_write_pubkey_der()
627 if (!*key_buf) { in crypto_write_pubkey_der()
630 os_memcpy(*key_buf, output_buf + 1600 - len, len); in crypto_write_pubkey_der()
973 int crypto_ec_write_pub_key(struct crypto_key *key, unsigned char **key_buf) in crypto_ec_write_pub_key() argument
980 *key_buf = os_malloc(len); in crypto_ec_write_pub_key()
981 if (!*key_buf) { in crypto_ec_write_pub_key()
985 os_memcpy(*key_buf, output_buf + 1600 - len, len); in crypto_ec_write_pub_key()
Dcrypto.h831 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len);
933 int crypto_ec_write_pub_key(struct crypto_key *key, unsigned char **key_buf);
1009 int crypto_write_pubkey_der(struct crypto_key *csign, unsigned char **key_buf);