Lines Matching refs:wpabuf_alloc
953 privkey = wpabuf_alloc(RFC3526_LEN); in dh5_init()
954 pubkey = wpabuf_alloc(RFC3526_LEN); in dh5_init()
1042 secret = wpabuf_alloc(RFC3526_LEN); in dh5_derive_shared()
2205 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
2245 pubkey = wpabuf_alloc(1 + 2 * key_len); in crypto_ecdh_set_peerkey()
2247 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ecdh_set_peerkey()
2266 secret = wpabuf_alloc(key_len); in crypto_ecdh_set_peerkey()
2268 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ecdh_set_peerkey()
2459 ret = wpabuf_alloc(der_len); in crypto_ec_key_get_subject_public_key()
2461 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ec_key_get_subject_public_key()
2539 ret = wpabuf_alloc(der_len); in crypto_ec_key_sign()
2541 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ec_key_sign()
2625 ret = wpabuf_alloc(len); in crypto_ec_key_get_ecprivate_key()
2627 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ec_key_get_ecprivate_key()
2667 ret = wpabuf_alloc(len); in crypto_ec_key_get_pubkey_point()
2669 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ec_key_get_pubkey_point()
2793 out = wpabuf_alloc(pem_len + 1); in crypto_ec_key_debug_print()
3047 ret = wpabuf_alloc(2 * sz); in crypto_ec_key_sign_r_s()
3049 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_ec_key_sign_r_s()
3179 ret = wpabuf_alloc(total_sz); in crypto_pkcs7_get_certificates()
3181 LOG_WOLF_ERROR_FUNC_NULL(wpabuf_alloc); in crypto_pkcs7_get_certificates()