Lines Matching refs:wpabuf_alloc
998 pubkey = wpabuf_alloc(publen); in dh5_init()
1002 privkey = wpabuf_alloc(privlen); in dh5_init()
1047 !(pubkey = wpabuf_alloc(pub_len)) || in dh5_init()
1048 !(privkey = wpabuf_alloc(priv_len)) || in dh5_init()
1099 pubkey = wpabuf_alloc(publen); in dh5_init()
1103 privkey = wpabuf_alloc(privlen); in dh5_init()
1250 !(res = wpabuf_alloc(len)) || in dh5_derive_shared()
1279 res = wpabuf_alloc(rlen); in dh5_derive_shared()
2813 buf = wpabuf_alloc(inc_y ? 2 * len : len); in crypto_ecdh_get_pubkey()
2886 !(res = wpabuf_alloc(res_len)) || in crypto_ecdh_set_peerkey()
2961 secret = wpabuf_alloc(secret_len); in crypto_ecdh_set_peerkey()
3739 !(buf = wpabuf_alloc(pub_len)) || in crypto_ec_key_get_pubkey_point()
3778 buf = wpabuf_alloc(len); in crypto_ec_key_get_pubkey_point()
3900 sig_der = wpabuf_alloc(sig_len); in crypto_ec_key_sign()
4226 pem = wpabuf_alloc(rlen); in crypto_pkcs7_get_certificates()
4526 !(res = wpabuf_alloc(outlen)) || in crypto_rsa_oaep_sha256_encrypt()
4563 !(res = wpabuf_alloc(outlen)) || in crypto_rsa_oaep_sha256_decrypt()
5122 ct = wpabuf_alloc(pt_len + AES_BLOCK_SIZE + ctx->n_t); in hpke_aead_seal()
5186 enc_ct = wpabuf_alloc(ctx->n_pk + wpabuf_len(ct)); in hpke_base_seal_int()
5287 pt = wpabuf_alloc(ct_len + AES_BLOCK_SIZE); in hpke_aead_open()
5442 buf = wpabuf_alloc(enc_len + ct_len); in hpke_base_seal()
5527 buf = wpabuf_alloc(len); in hpke_base_open()