Searched refs:icv (Results 1 - 20 of 20) sorted by relevance

/freebsd-12-stable/contrib/wpa/src/eap_common/
H A Deap_ikev2_common.c74 u8 icv[IKEV2_MAX_HASH_LEN]; local
98 wpabuf_len(msg) - icv_len, icv) < 0) {
103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
106 icv, icv_len);
H A Deap_eke_common.c642 u8 icv[EAP_EKE_MAX_HASH_LEN]; local
661 prot_len - block_size - icv_len, icv) < 0)
663 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) {
H A Dikev2_common.c537 u8 *icv, *iv; local
594 icv = wpabuf_put(msg, integ_alg->hash_len);
602 wpabuf_len(msg) - integ_alg->hash_len, icv);
/freebsd-12-stable/crypto/openssl/crypto/modes/
H A Dwrap128.c173 * @param[in] icv (Non-standard) IV, 4 bytes. NULL = use default_aiv.
183 size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, argument
206 if (!icv)
209 memcpy(aiv, icv, 4); /* Standard doesn't mention this. */
239 * @param[in] icv (Non-standard) IV, 4 bytes. NULL = use default_aiv.
251 size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv, argument
299 if ((!icv && CRYPTO_memcmp(aiv, default_aiv, 4))
300 || (icv && CRYPTO_memcmp(aiv, icv, 4))) {
/freebsd-12-stable/contrib/wpa/src/pae/
H A Dieee802_1x_key.h22 size_t msg_bytes, u8 *icv);
H A Dieee802_1x_key.c180 size_t msg_bytes, u8 *icv)
185 res = omac1_aes_128(ick, msg, msg_bytes, icv);
187 res = omac1_aes_256(ick, msg, msg_bytes, icv);
179 ieee802_1x_icv_aes_cmac(const u8 *ick, size_t ick_bytes, const u8 *msg, size_t msg_bytes, u8 *icv) argument
H A Dieee802_1x_kay_i.h80 const u8 *msg, size_t msg_len, u8 *icv);
422 u8 icv[0]; member in struct:ieee802_1x_mka_icv_body
H A Dieee802_1x_kay.c1896 return body->icv;
3038 u8 icv[MAX_ICV_LEN]; local
3133 buf, len - mka_alg_tbl[kay->mka_algindex].icv_len, icv)) {
3147 if (os_memcmp_const(msg_icv, icv,
3152 icv, mka_alg_tbl[kay->mka_algindex].icv_len);
/freebsd-12-stable/sys/net80211/
H A Dieee80211_crypto_wep.c352 uint8_t icv[IEEE80211_WEP_CRCLEN]; local
413 icv[0] = crc;
414 icv[1] = crc >> 8;
415 icv[2] = crc >> 16;
416 icv[3] = crc >> 24;
421 icv[k] ^= S[(S[i] + S[j]) & 0xff];
423 return m_append(m0, IEEE80211_WEP_CRCLEN, icv);
435 uint8_t icv[IEEE80211_WEP_CRCLEN]; local
496 icv[0] = crc;
497 icv[
[all...]
H A Dieee80211_crypto_tkip.c670 uint8_t icv[IEEE80211_WEP_CRCLEN])
717 icv[0] = crc;
718 icv[1] = crc >> 8;
719 icv[2] = crc >> 16;
720 icv[3] = crc >> 24;
725 icv[k] ^= S[(S[i] + S[j]) & 0xff];
734 u8 *pos, icv[4]; local
776 icv[0] = crc;
777 icv[1] = crc >> 8;
778 icv[
669 wep_encrypt(u8 *key, struct mbuf *m0, u_int off, size_t data_len, uint8_t icv[IEEE80211_WEP_CRCLEN]) argument
1012 uint8_t icv[IEEE80211_WEP_CRCLEN]; local
[all...]
/freebsd-12-stable/crypto/openssl/crypto/evp/
H A De_des3.c319 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; local
326 /* Decrypt first block which will end up as icv */
327 des_ede_cbc_cipher(ctx, icv, in, 8);
341 BUF_reverse(icv, NULL, 8);
346 des_ede_cbc_cipher(ctx, icv, icv, 8);
350 if (!CRYPTO_memcmp(sha1tmp, icv, 8))
352 OPENSSL_cleanse(icv, 8);
H A De_aes.c1127 } icv; member in struct:__anon8085::__anon8086::__anon8088::__anon8089
2012 ctx->aes.ccm.kmac_param.icv.g[0] = 0;
2013 ctx->aes.ccm.kmac_param.icv.g[1] = 0;
2027 ctx->aes.ccm.kmac_param.icv.b[i] ^= aad[i];
2029 s390x_km(ctx->aes.ccm.kmac_param.icv.b, 16,
2030 ctx->aes.ccm.kmac_param.icv.b, ctx->aes.ccm.fc,
2049 s390x_km(ctx->aes.ccm.nonce.b, 16, ctx->aes.ccm.kmac_param.icv.b,
2089 ctx->aes.ccm.kmac_param.icv.b[i] ^= in[len + i];
2091 s390x_km(ctx->aes.ccm.kmac_param.icv.b, 16,
2092 ctx->aes.ccm.kmac_param.icv
[all...]
/freebsd-12-stable/contrib/bzip2/
H A Dcompress.c361 register UInt16 icv; local
365 icv = mtfv[gs+(nn)]; \
366 cost01 += s->len_pack[icv][0]; \
367 cost23 += s->len_pack[icv][1]; \
368 cost45 += s->len_pack[icv][2]; \
390 UInt16 icv = mtfv[i]; local
391 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv];
/freebsd-12-stable/crypto/openssl/include/openssl/
H A Dmodes.h165 size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv,
168 size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv,
/freebsd-12-stable/contrib/wpa/src/eap_peer/
H A Deap_pax.c340 const u8 *icv, *pos; local
417 icv = pos + len - EAP_PAX_ICV_LEN;
418 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
428 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
/freebsd-12-stable/contrib/wpa/src/eap_server/
H A Deap_server_pax.c205 u8 icvbuf[EAP_PAX_ICV_LEN], *icv; local
280 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN;
281 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
291 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) {
/freebsd-12-stable/sys/i386/include/
H A Dcserial.h72 unsigned long icv[48]; member in struct:e3_statistics
/freebsd-12-stable/sys/dev/qat/
H A Dqat.c1745 char icv[QAT_SYM_HASH_BUFFER_LEN]; local
1775 icv);
1776 if (timingsafe_bcmp(icv, qsc->qsc_auth_res,
/freebsd-12-stable/sbin/sconfig/
H A Dsconfig.c570 format_e3_cv (st.icv[i], baud, 15*60));
/freebsd-12-stable/sys/dev/cp/
H A Dif_cp.c1192 opte3->icv[s] = c->e3icv[s];

Completed in 467 milliseconds