| /freebsd/crypto/openssl/crypto/modes/ |
| H A D | build.info | 5 $MODESASM_x86=ghash-x86.S 7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s aes-gcm-avx512.s 10 # ghash-ia64.s doesn't work on VMS 12 $MODESASM_ia64=ghash-ia64.s 16 $MODESASM_sparcv9=ghash-sparcv9.S 19 $MODESASM_alpha=ghash-alpha.S 22 $MODESASM_s390x=ghash-s390x.S 25 $MODESASM_armv4=ghash-armv4.S ghashv8-armx.S 30 $MODESASM_parisc11=ghash-parisc.s 43 $MODESASM_c64xplus=ghash-c64xplus.s [all …]
|
| H A D | gcm128.c | 331 #define GHASH(ctx, in, len) ctx->funcs.ghash((ctx)->Xi.u, (ctx)->Htable, in, len) 438 ctx->ghash = gcm_ghash_4bit; in gcm_get_funcs() 440 ctx->ghash = NULL; in gcm_get_funcs() 450 ctx->ghash = gcm_ghash_avx; in gcm_get_funcs() 454 ctx->ghash = gcm_ghash_clmul; in gcm_get_funcs() 464 ctx->ghash = gcm_ghash_4bit_mmx; in gcm_get_funcs() 470 ctx->ghash = gcm_ghash_4bit_mmx; in gcm_get_funcs() 475 ctx->ghash = gcm_ghash_4bit_x86; in gcm_get_funcs() 480 ctx->ghash = gcm_ghash_4bit; in gcm_get_funcs() 487 ctx->ghash = gcm_ghash_4bit; in gcm_get_funcs() [all …]
|
| /freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
| H A D | gcm.c | 220 uint8_t *ghash, *macp = NULL; in gcm_encrypt_final() local 229 ghash = (uint8_t *)ctx->gcm_ghash; in gcm_encrypt_final() 261 GHASH(ctx, macp, ghash, gops); in gcm_encrypt_final() 268 GHASH(ctx, ctx->gcm_len_a_len_c, ghash, gops); in gcm_encrypt_final() 271 xor_block((uint8_t *)ctx->gcm_J0, ghash); in gcm_encrypt_final() 280 rv = crypto_put_output_data(ghash, out, ctx->gcm_tag_len); in gcm_encrypt_final() 387 uint8_t *ghash; in gcm_decrypt_final() local 398 ghash = (uint8_t *)ctx->gcm_ghash; in gcm_decrypt_final() 416 GHASH(ctx, blockp, ghash, gops); in gcm_decrypt_final() 439 GHASH(ctx, ctx->gcm_len_a_len_c, ghash, gops); in gcm_decrypt_final() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_crypto_gcm.c | 160 ghash(const uint8_t *h, const uint8_t *x, size_t xlen, uint8_t *y) in ghash() function 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() 298 ghash(H, aad, aad_len, S); in aes_gcm_ghash() 299 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash() 302 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() function 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() 241 ghash(H, aad, aad_len, S); in aes_gcm_ghash() 242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash() 245 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
|
| /freebsd/sys/crypto/openssl/powerpc64/ |
| H A D | aes-gcm-ppc.S | 222 # Compute update single ghash 350 # Compute AES and ghash one block at a time. 435 # Compute ghash. 612 # Loop 8x blocks and compute ghash 617 # Compute ghash here 659 # Compute ghash here 799 # Loop 8x blocks and compute ghash 850 # ghash here
|
| /freebsd/sys/crypto/openssl/powerpc64le/ |
| H A D | aes-gcm-ppc.S | 222 # Compute update single ghash 350 # Compute AES and ghash one block at a time. 435 # Compute ghash. 612 # Loop 8x blocks and compute ghash 617 # Compute ghash here 659 # Compute ghash here 799 # Loop 8x blocks and compute ghash 850 # ghash here
|
| /freebsd/sys/crypto/openssl/powerpc/ |
| H A D | aes-gcm-ppc.S | 222 # Compute update single ghash 350 # Compute AES and ghash one block at a time. 435 # Compute ghash. 612 # Loop 8x blocks and compute ghash 617 # Compute ghash here 659 # Compute ghash here 799 # Loop 8x blocks and compute ghash 850 # ghash here
|
| /freebsd/sys/modules/ossl/ |
| H A D | Makefile | 22 ghash-armv4.S \ 45 ghash-x86_64.S \
|
| /freebsd/crypto/openssl/providers/ |
| H A D | fips.module.sources | 273 crypto/modes/asm/ghash-alpha.pl 274 crypto/modes/asm/ghash-armv4.pl 275 crypto/modes/asm/ghash-c64xplus.pl 276 crypto/modes/asm/ghash-ia64.pl 277 crypto/modes/asm/ghash-parisc.pl 278 crypto/modes/asm/ghash-riscv64-zvkb-zvbc.pl 279 crypto/modes/asm/ghash-riscv64-zvkg.pl 280 crypto/modes/asm/ghash-riscv64.pl 281 crypto/modes/asm/ghash-s390x.pl 282 crypto/modes/asm/ghash-sparcv9.pl [all …]
|
| H A D | fips-sources.checksums | 273 c2e874a8deb418b5d8c935b2e256370566a5150e040c9fa008cdb5b463c26904 crypto/modes/asm/ghash-alpha.pl 274 6bc7d63569c73d7020ede481f2de05221ac92403c7cc11e7263ada7644f6aa9b crypto/modes/asm/ghash-armv4.pl 275 097975df63370de7ebea012d17de14fc1f361fb83acf03b432a99ae7d5bceb24 crypto/modes/asm/ghash-c64xplus.pl 276 fdde3bc48b37790c6e0006014da71e7a831bbb4fdbfcda2d01dbe0ceb0ba88fa crypto/modes/asm/ghash-ia64.pl 277 e472d73d06933667a51a0af973479993eed333c71b43af03095450acb36dbeb4 crypto/modes/asm/ghash-parisc.pl 278 e6d6ce559210aee1e97f098683e290c221cc90f6f4f8047b331e8071a8387559 crypto/modes/asm/ghash-riscv64-zv… 279 4c960949a5b7688f9019e177c24382dd1e78f6d343f3c4326bebbc065eb3a9f2 crypto/modes/asm/ghash-riscv64-zv… 280 494b4b36fd7c7d0e464be76f723c46ae7ad173593ff0556525edfdc974e66c32 crypto/modes/asm/ghash-riscv64.pl 281 92071f9c046f312c4eb7df483f385bc71ade863392e1acf3e821912bcc5cfaa7 crypto/modes/asm/ghash-s390x.pl 282 6af1a05981e1d41e4dea51e58938360e3abc4a4f58e179908242466d032b1a8a crypto/modes/asm/ghash-sparcv9.pl [all …]
|
| /freebsd/sys/dev/ffec/ |
| H A D | if_ffec.c | 980 uint64_t *ghash = arg; in ffec_hash_maddr() 985 *ghash |= 1LLU << (((uint8_t *)&crc)[3] >> 2); in ffec_hash_maddr() 995 uint64_t ghash, ihash; in ffec_setup_rxfilter() 1005 ghash = 0xffffffffffffffffLLU; in ffec_setup_rxfilter() 1007 ghash = 0; in ffec_setup_rxfilter() 1008 if_foreach_llmaddr(ifp, ffec_hash_maddr, &ghash); in ffec_setup_rxfilter() 1010 WR4(sc, FEC_GAUR_REG, (uint32_t)(ghash >> 32)); in ffec_setup_rxfilter() 1011 WR4(sc, FEC_GALR_REG, (uint32_t)ghash); in ffec_setup_rxfilter() 979 uint64_t *ghash = arg; ffec_hash_maddr() local 994 uint64_t ghash, ihash; ffec_setup_rxfilter() local
|
| /freebsd/crypto/openssl/include/crypto/ |
| H A D | aes_platform.h | 91 …M_PPC(gctx) ((gctx)->ctr == aes_p8_ctr32_encrypt_blocks && (gctx)->gcm.funcs.ghash == gcm_ghash_p8) 126 …l12_eor3 || (gctx)->ctr == aes_v8_ctr32_encrypt_blocks) && (gctx)->gcm.funcs.ghash == gcm_ghash_v8) 282 #define AES_GCM_ASM(ctx) (ctx->ctr == aesni_ctr32_encrypt_blocks && ctx->gcm.funcs.ghash == gcm_gha… 494 …(ctx->ctr == rv64i_zvkb_zvkned_ctr32_encrypt_blocks && ctx->gcm.funcs.ghash == gcm_ghash_rv64i_zvk…
|
| H A D | modes.h | 110 gcm_ghash_fn ghash; member
|
| /freebsd/cddl/lib/libicp/ |
| H A D | Makefile | 17 asm-x86_64/modes/ghash-x86_64.S \ 117 CFLAGS.ghash-x86_64.S+= -DLOCORE
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | DebugTypes.cpp | 950 uint32_t insert(COFFLinkerContext &ctx, GloballyHashedType ghash, 1023 uint32_t GHashTable::insert(COFFLinkerContext &ctx, GloballyHashedType ghash, in insert() argument 1031 llvm::byteswap<uint64_t>(*reinterpret_cast<uint64_t *>(&ghash)) % in insert() 1044 while (oldCell.isEmpty() || oldCell.getGHash(ctx) == ghash) { in insert() 1119 GloballyHashedType ghash = source->ghashes[i]; in mergeTypesWithGHash() local 1122 ghashState.table.insert(ctx, ghash, GHashCell(isItem, tpiSrcIdx, i)); in mergeTypesWithGHash()
|
| /freebsd/sys/dev/cxgbe/crypto/ |
| H A D | t7_kern_tls.c | 93 char ghash[AES_GMAC_HASH_LEN]; member 1388 dst, m, tlsp->ghash + offset, in ktls_write_tls_wr() 1779 memcpy(out, tlsp->ghash, AES_GMAC_HASH_LEN); in ktls_write_tls_wr() 2121 const void *ghash; in ktls_fw6_pld() local 2137 ghash = &cpl->data[2]; in ktls_fw6_pld() 2139 ghash = cpl + 1; in ktls_fw6_pld() 2140 memcpy(tlsp->ghash, ghash, AES_GMAC_HASH_LEN); in ktls_fw6_pld()
|
| H A D | t4_keyctx.c | 298 t4_init_gmac_hash(const char *key, int klen, char *ghash) in t4_init_gmac_hash() argument 305 rijndaelEncrypt(keysched, rounds, zeroes, ghash); in t4_init_gmac_hash()
|
| /freebsd/secure/lib/libcrypto/ |
| H A D | Makefile.asm | 120 SRCS+= aes-gcm-avx512.pl aesni-gcm-x86_64.pl ghash-x86_64.pl 192 SRCS+= ghash-armv4.pl ghashv8-armx.pl 269 SRCS+= ghash-x86.pl
|
| H A D | Makefile | 338 SRCS+= aesni-gcm-x86_64.S aes-gcm-avx512.S ghash-x86_64.S 340 SRCS+= ghash-armv4.S ghashv8-armx.S 342 SRCS+= ghash-x86.S
|
| /freebsd/sys/contrib/openzfs/lib/libicp/ |
| H A D | Makefile.am | 76 module/icp/asm-x86_64/modes/ghash-x86_64.S \
|
| /freebsd/cddl/lib/libicp_rescue/ |
| H A D | Makefile | 115 CFLAGS.ghash-x86_64.S+= -DLOCORE
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | build.info | 37 # ghash-ia64.s doesn't work on VMS
|
| H A D | cipher_aes_gcm_hw_s390x.inc | 67 * Calculate the ghash of the iv - the result is stored into the tag
|
| /freebsd/sys/conf/ |
| H A D | files.arm | 142 crypto/openssl/arm/ghash-armv4.S optional ossl \
|