Home
last modified time | relevance | path

Searched refs:J0 (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/sys/net80211/
H A Dieee80211_crypto_gcm.c248 uint8_t *J0) in aes_gcm_prepare_j0() argument
254 memcpy(J0, iv, iv_len); in aes_gcm_prepare_j0()
255 memset(J0 + iv_len, 0, AES_BLOCK_LEN - iv_len); in aes_gcm_prepare_j0()
256 J0[AES_BLOCK_LEN - 1] = 0x01; in aes_gcm_prepare_j0()
262 ghash_start(J0); in aes_gcm_prepare_j0()
263 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
266 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
271 aes_gcm_gctr(rijndael_ctx *aes, const uint8_t *J0, const uint8_t *in, in aes_gcm_gctr() argument
279 memcpy(J0inc, J0, AES_BLOCK_LEN); in aes_gcm_gctr()
314 uint8_t J0[AES_BLOCK_LEN]; in ieee80211_crypto_aes_gcm_ae() local
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Daes-gcm.c192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) in aes_gcm_prepare_j0() argument
198 os_memcpy(J0, iv, iv_len); in aes_gcm_prepare_j0()
199 os_memset(J0 + iv_len, 0, AES_BLOCK_SIZE - iv_len); in aes_gcm_prepare_j0()
200 J0[AES_BLOCK_SIZE - 1] = 0x01; in aes_gcm_prepare_j0()
206 ghash_start(J0); in aes_gcm_prepare_j0()
207 ghash(H, iv, iv_len, J0); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument
223 os_memcpy(J0inc, J0, AES_BLOCK_SIZE); in aes_gcm_gctr()
259 u8 J0[AES_BLOCK_SIZE]; in aes_gcm_ae() local
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/crypto/
H A Daes_gcm_test.txt841 comment: J0:000102030405060708090a0b0c0d0e0f
852 comment: J0:00000000000000000000000000000000
863 comment: J0:ffffffffffffffffffffffffffffffff
874 comment: J0:fffffffffffffffffffffffffffffffe
885 comment: J0:fffffffffffffffffffffffffffffffd
896 comment: J0:000102030405060708090a0bffffffff
907 comment: J0:000102030405060708090a0bfffffffe
918 comment: J0:000102030405060708090a0bfffffffd
929 comment: J0:000102030405060708090a0b7fffffff
940 comment: J0:000102030405060708090a0b7ffffffe
[all …]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-vegman-n110.dts24 /*J0-J7*/ "","","","","","","","",
61 /*J0-J7*/ "","","","","","","","","","","","","","","","";
H A Daspeed-bmc-vegman-sx20.dts24 /*J0-J7*/ "","","","","","","","",
61 /*J0-J7*/ "","","","","","","","","","","","","","","","";
H A Daspeed-bmc-vegman-rx20.dts52 /*J0-J7*/ "","","","","","","","",
89 /*J0-J7*/ "","","","","","","","","","","","","","","","";
H A Daspeed-bmc-qcom-dc-scm-v1.dts104 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-amd-daytonax.dts135 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-inventec-transformers.dts280 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-facebook-greatlakes.dts262 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-opp-romulus.dts244 /*J0-J7*/ "","","checkstop","","","","","",
H A Daspeed-bmc-opp-nicole.dts229 /*J0-J7*/ "","","checkstop","","","","","",
H A Daspeed-bmc-amd-ethanolx.dts132 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-facebook-harma.dts645 /*J0-J7*/ "","","","","","","","",
773 /*J0-J3 line 144-151*/
H A Daspeed-bmc-ufispace-ncplite.dts347 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-facebook-santabarbara.dts166 /*J0-J7*/ "","","","","","","","",
877 /*J0-J3 line 144-151*/
H A Daspeed-bmc-asus-x4tf.dts562 /*J0 72*/ "", "", "", "", "", "", "", "",
H A Daspeed-bmc-facebook-tiogapass.dts144 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-inspur-nf5280m6.dts160 /*J0-J7*/ "FM_CPU0_SKTOCC_LVT3_N","FM_CPU1_SKTOCC_LVT3_N","","SYSHOT_FAULT_LED_N",
H A Daspeed-bmc-quanta-s6q.dts98 /*J0 - J7*/ "", "", "", "", "", "", "", "",
H A Daspeed-bmc-ibm-bonnell.dts140 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-tyan-s8036.dts435 /*J0-J7*/ "","","","","","","","",
H A Daspeed-bmc-opp-witherspoon.dts211 /*J0-J7*/ "","","checkstop","","","","","",
/freebsd/crypto/openssl/crypto/modes/asm/
H A Daes-gcm-avx512.pl3371 my $J0 = $_[3]; #; [out] XMM reg to contain J0
3398 $code .= "vpxor $J0,$J0,$J0\n";
3399 &CALC_AAD_HASH($IV, $IV_LEN, $J0, $GCM128_CTX, $ZT0, $ZT1, $ZT2, $ZT3, $ZT4,
3409 vpxorq $J0,@{[XWORD($ZT2)]},$J0
3413 &GHASH_MUL($J0, @{[XWORD($ZT0)]}, @{[XWORD($ZT1)]}, @{[XWORD($ZT2)]}, @{[XWORD($ZT3)]});
3415 $code .= "vpshufb SHUF_MASK(%rip),$J0,$J0 # ; perform a 16Byte swap\n";
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1397 uint32_t *J0 = (uint32_t *)ctx->gcm_J0; in gcm_encrypt_final_avx() local
1431 aes_encrypt_intel(keysched, aes_rounds, J0, J0); in gcm_encrypt_final_avx()
1433 gcm_xor_avx((uint8_t *)J0, ghash); in gcm_encrypt_final_avx()

12