Searched defs:crcbuf (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_wep.c | 228 uint8_t crcbuf[IEEE80211_WEP_CRCLEN]; local 261 *(uint32_t *)crcbuf = LE_32(~crc); 264 (void) rc4_crypt(ctx, crcbuf, icv, IEEE80211_WEP_CRCLEN); 275 uint8_t crcbuf[IEEE80211_WEP_CRCLEN]; local 311 (void) rc4_crypt(ctx, icv, crcbuf, IEEE80211_WEP_CRCLEN); 313 (void) rc4_final(ctx, crcbuf, IEEE80211_WEP_CRCLEN); 315 return (crc == ~LE_32(*(uint32_t *)crcbuf));
|
H A D | net80211_crypto_tkip.c | 503 uint8_t crcbuf[IEEE80211_WEP_CRCLEN]; local 520 *(uint32_t *)crcbuf = LE_32(~crc); 521 (void) rc4_crypt(ctx, crcbuf, icv, IEEE80211_WEP_CRCLEN); 531 uint8_t crcbuf[IEEE80211_WEP_CRCLEN]; local 550 (void) rc4_crypt(ctx, icv, crcbuf, IEEE80211_WEP_CRCLEN); 551 (void) rc4_final(ctx, crcbuf, IEEE80211_WEP_CRCLEN); 553 return (crc == ~LE_32(*(uint32_t *)crcbuf));
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 1231 unsigned char *crcbuf; local 1346 crcbuf = alloca(sizeof (section_layout_t) + bufsize); 1347 if (crcbuf == NULL) { 1355 (void) memcpy(crcbuf, (char *)&sec_layout, sizeof (section_layout_t)); 1356 (void) memcpy(crcbuf + sizeof (section_layout_t), segment_buf, bufsize); 1358 sec_layout.headercrc8 = compute_crc8(crcbuf, bufsize +
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 1303 unsigned char *crcbuf; local 1418 crcbuf = alloca(sizeof (section_layout_t) + bufsize); 1419 if (crcbuf == NULL) { 1427 (void) memcpy(crcbuf, (char *)&sec_layout, sizeof (section_layout_t)); 1428 (void) memcpy(crcbuf + sizeof (section_layout_t), segment_buf, bufsize); 1430 sec_layout.headercrc8 = compute_crc8(crcbuf, bufsize +
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | libfruaccess.c | 1664 unsigned char *crcbuf; local 1784 crcbuf = alloca(sizeof (section_layout_t) + bufsize); 1785 if (crcbuf == NULL) { 1793 (void) memcpy(crcbuf, (char *)&sec_layout, sizeof (section_layout_t)); 1794 (void) memcpy(crcbuf + sizeof (section_layout_t), segment_buf, bufsize); 1796 sec_layout.headercrc8 = compute_crc8(crcbuf, bufsize +
|
Completed in 80 milliseconds