Home
last modified time | relevance | path

Searched refs:mac_len (Results 1 – 8 of 8) sorted by relevance

/trueos/crypto/openssh/
HDmac.c120 mac->key_len = mac->mac_len = ssh_hmac_bytes(macalg->alg); in mac_setup_by_alg()
122 mac->mac_len = macalg->len / 8; in mac_setup_by_alg()
127 mac->mac_len = macalg->truncatebits / 8; in mac_setup_by_alg()
180 if (mac->mac_len > sizeof(u)) in mac_compute()
182 mac->mac_len, sizeof(u)); in mac_compute()
HDkex.h104 u_int mac_len; member
HDpacket.c966 buffer_append(&active_state->output, macbuf, mac->mac_len); in packet_send2_wrapped()
1283 maclen = mac && mac->enabled ? mac->mac_len : 0; in packet_read_poll2()
1386 mac->mac_len) != 0) { in packet_read_poll2()
1396 buffer_consume(&active_state->input, mac->mac_len); in packet_read_poll2()
HDChangeLog262 dh_need needs to be set to max(seclen, blocksize, ivlen, mac_len)
/trueos/crypto/openssl/crypto/engine/
HDeng_cryptodev.c78 int mac_len; member
751 OPENSSL_realloc(state->mac_data, state->mac_len + count); in cryptodev_digest_update()
758 memcpy(state->mac_data + state->mac_len, data, count); in cryptodev_digest_update()
759 state->mac_len += count; in cryptodev_digest_update()
797 cryp.len = state->mac_len; in cryptodev_digest_final()
831 state->mac_len = 0; in cryptodev_digest_cleanup()
875 if (fstate->mac_len != 0) { in cryptodev_digest_copy()
877 dstate->mac_data = OPENSSL_malloc(fstate->mac_len); in cryptodev_digest_copy()
878 memcpy(dstate->mac_data, fstate->mac_data, fstate->mac_len); in cryptodev_digest_copy()
879 dstate->mac_len = fstate->mac_len; in cryptodev_digest_copy()
/trueos/crypto/openssl/engines/ccgost/
HDgost89.c514 int gost_mac(gost_ctx * ctx, int mac_len, const unsigned char *data, in gost_mac() argument
532 get_mac(buffer, mac_len, mac); in gost_mac()
537 int gost_mac_iv(gost_ctx * ctx, int mac_len, const unsigned char *iv, in gost_mac_iv() argument
557 get_mac(buffer, mac_len, mac); in gost_mac_iv()
/trueos/contrib/wpa/src/crypto/
HDcrypto_openssl.c81 unsigned int mac_len; in openssl_digest_vector() local
97 if (!EVP_DigestFinal(&ctx, mac, &mac_len)) { in openssl_digest_vector()
/trueos/sys/arm/cavium/cns11xx/
HDif_ece.c1293 set_mac_address(struct ece_softc *sc, const char *mac, int mac_len) in set_mac_address() argument