Home
last modified time | relevance | path

Searched full:gcm (Results 1 – 25 of 77) sorted by relevance

1234

/linux/drivers/crypto/ccree/
H A Dcc_aead.h20 /* defines for AES GCM configuration buffer */
49 * Used for both: digest HW compare and CCM/GCM MAC value
54 //used in gcm
75 //used in gcm
76 /* buffer for internal gcm configurations */
78 /* buffer for internal gcm configurations */
81 dma_addr_t gcm_block_len_dma_addr; /* Phys. address of gcm block len */
/linux/crypto/
H A Daes.c13 #include <crypto/aes-gcm.h>
725 /* AES-GCM */
829 struct aes_gcm_key gcm; member
845 return aes_gcm_preparekey(&key->gcm, in_key, key_len, in crypto_aes_rfc4106_setkey()
858 key->gcm.authtag_len = authsize; in crypto_aes_rfc4106_setauthsize()
873 return crypto_aes_gcm_encrypt_common(req, &key->gcm, iv, in crypto_aes_rfc4106_encrypt()
888 return crypto_aes_gcm_decrypt_common(req, &key->gcm, iv, in crypto_aes_rfc4106_decrypt()
1001 * Don't register library-based "gcm(aes)" and "rfc4106(gcm(aes))" on
1003 * being instantiated via the "gcm" an
[all...]
/linux/tools/testing/selftests/net/
H A Dl2tp.sh230 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
235 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
240 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
245 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
269 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
274 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
279 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
284 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
/linux/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c3 * SM4-GCM AEAD Algorithm using ARMv8 Crypto Extensions
221 .cra_name = "gcm(sm4)",
222 .cra_driver_name = "gcm-sm4-ce",
259 MODULE_DESCRIPTION("Synchronous SM4 in GCM mode using ARMv8 Crypto Extensions");
260 MODULE_ALIAS_CRYPTO("gcm(sm4)");
/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dpai_crypto.json216 "BriefDescription": "KMA GCM AES 128",
217 "PublicDescription": "KMA-GCM-AES-128 function ending with CC=0"
223 "BriefDescription": "KMA GCM AES 192",
224 "PublicDescription": "KMA-GCM-AES-192 function ending with CC=0"
230 "BriefDescription": "KMA GCM AES 256",
231 "PublicDescription": "KMA-GCM-AES-256 function ending with CC=0"
237 "BriefDescription": "KMA GCM ENCRYPTED AES 128",
238 "PublicDescription": "KMA-GCM-Encrypted-AES-128 function ending with CC=0"
244 "BriefDescription": "KMA GCM ENCRYPTED AES 192",
245 "PublicDescription": "KMA-GCM-Encrypted-AES-192 function ending with CC=0"
[all …]
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c9 * Added RFC4106 AES-GCM support for 128-bit keys under the AEAD
27 #include <crypto/gcm.h>
40 /* The common part of the x86_64 AES-GCM key struct */
49 /* Key struct used by the AES-NI implementations of AES-GCM */
82 /* Key struct used by the VAES + AVX2 implementation of AES-GCM */
111 /* Key struct used by the VAES + AVX512 implementation of AES-GCM */ in aes_set_key_common()
137 * These flags are passed to the AES-GCM helper functions to specify the in ecb_encrypt()
138 * specific version of AES-GCM (RFC4106 or not), whether it's encryption or in ecb_encrypt()
416 * This is the setkey function for the x86_64 implementations of AES-GCM. It in xts_crypt_slowpath()
627 * Since the AES-GCM assembl in ctr_crypt()
[all...]
/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c10 #include <crypto/gcm.h>
786 .cra_name = "gcm(aes)",
787 .cra_driver_name = "xilinx-zynqmp-aes-gcm",
816 .cra_name = "gcm(paes)",
817 .cra_driver_name = "xilinx-zynqmp-paes-gcm",
849 .cra_name = "gcm(aes)",
850 .cra_driver_name = "versal-aes-gcm",
879 .cra_name = "gcm(paes)",
880 .cra_driver_name = "versal-paes-gcm",
1021 MODULE_DESCRIPTION("zynqmp aes-gcm hardwar in aes_driver_exit()
[all...]
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c9 #include <crypto/gcm.h>
33 * encrypt the trusted key payload using AES-128-GCM.
50 * @payload: The payload itself, encrypted using AES-128-GCM and @blob_key,
51 * GCM auth tag of size DCP_BLOB_AUTHLEN is attached at the end of it.
138 aead = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC); in do_aead_crypto()
/linux/tools/perf/pmu-events/arch/s390/cf_z17/
H A Dpai_crypto.json216 "BriefDescription": "KMA GCM AES 128",
217 "PublicDescription": "KMA-GCM-AES-128 function ending with CC=0"
223 "BriefDescription": "KMA GCM AES 192",
224 "PublicDescription": "KMA-GCM-AES-192 function ending with CC=0"
230 "BriefDescription": "KMA GCM AES 256",
231 "PublicDescription": "KMA-GCM-AES-256 function ending with CC=0"
237 "BriefDescription": "KMA GCM ENCRYPTED AES 128",
238 "PublicDescription": "KMA-GCM-Encrypted-AES-128 function ending with CC=0"
244 "BriefDescription": "KMA GCM ENCRYPTED AES 192",
245 "PublicDescription": "KMA-GCM-Encrypted-AES-192 function ending with CC=0"
[all …]
/linux/drivers/crypto/intel/keembay/
H A DKconfig13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
14 and gcm(sm4).
/linux/drivers/crypto/bcm/
H A Dspu.h142 u8 aad_pad_len; /* For AES GCM/CCM, length of padding after AAD */
143 u8 data_pad_len;/* For AES GCM/CCM, length of padding after data */
160 /* GCM and CCM require 16-byte alignment */
H A Dcipher.h18 #include <crypto/gcm.h>
41 /* size of salt value for AES-GCM-ESP and AES-CCM-ESP */
166 /* SPU response pad for GCM data */
169 /* SPU request msg padding for GCM AAD */
/linux/drivers/net/ovpn/
H A Dcrypto.h22 const u8 *nonce_tail; /* only needed for GCM modes */
23 size_t nonce_tail_size; /* only needed for GCM modes */
/linux/net/xfrm/
H A Dxfrm_algo.c29 .name = "rfc4106(gcm(aes))",
48 .name = "rfc4106(gcm(aes))",
67 .name = "rfc4106(gcm(aes))",
143 .name = "rfc4543(gcm(aes))",
/linux/tools/crypto/tcrypt/
H A Dtcrypt_speed_compare.py33 modprobe tcrypt alg="pcrypt(rfc4106(gcm(aes)))" type=3
40 modprobe tcrypt alg="pcrypt(rfc4106(gcm(aes)))" type=3
/linux/drivers/crypto/nx/
H A DMakefile6 nx-aes-gcm.o \
/linux/net/mac80211/
H A Daes_gcm.h34 return aead_key_setup_encrypt("gcm(aes)", key, in ieee80211_aes_gcm_key_setup_encrypt()
/linux/Documentation/devicetree/bindings/crypto/
H A Dnvidia,tegra234-se-aes.yaml11 algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM,
/linux/net/tipc/
H A DKconfig48 advanced algorithm: AEAD AES-GCM (like IPSec or TLS) before leaving/
/linux/drivers/crypto/caam/
H A Dpdb.h108 * ipsec_encap_gcm - PDB part for IPsec GCM encapsulation
143 struct ipsec_encap_gcm gcm; member
209 struct ipsec_decap_gcm gcm; member
H A Dcompat.h36 #include <crypto/gcm.h>
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c12 #include <crypto/gcm.h>
521 .cra_name = "gcm(aes)",
540 .cra_name = "rfc4106(gcm(aes))",
/linux/drivers/net/wan/framer/pef2256/
H A Dpef2256.c173 const u8 *gcm; in pef2256_setup_gcm() local
204 gcm = pef2256_gcm_configs[item].gcm_12; in pef2256_setup_gcm()
207 gcm = pef2256_gcm_configs[item].gcm_2x; in pef2256_setup_gcm()
212 pef2256_write8(pef2256, PEF2256_GCM(i + 1), *(gcm + i)); in pef2256_setup_gcm()
/linux/net/tls/
H A Dtls_main.c101 CIPHER_DESC(TLS_CIPHER_AES_GCM_128, tls12_crypto_info_aes_gcm_128, "gcm(aes)", true),
102 CIPHER_DESC(TLS_CIPHER_AES_GCM_256, tls12_crypto_info_aes_gcm_256, "gcm(aes)", true),
105 CIPHER_DESC(TLS_CIPHER_SM4_GCM, tls12_crypto_info_sm4_gcm, "gcm(sm4)", false),
107 CIPHER_DESC(TLS_CIPHER_ARIA_GCM_128, tls12_crypto_info_aria_gcm_128, "gcm(aria)", false),
108 CIPHER_DESC(TLS_CIPHER_ARIA_GCM_256, tls12_crypto_info_aria_gcm_256, "gcm(aria)", false),
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c28 /* Size of salt in AES GCM mode */
30 /* Size of IV in AES GCM mode */
32 /* Size of ICV (Integrity Check Value) in AES GCM mode */
34 /* Offset of IV in AES GCM mode */
858 * For aes gcm we expect to get encryption key (16, 24, 32 bytes) in otx_cpt_aead_gcm_aes_setkey()
1463 .cra_name = "rfc4106(gcm(aes))",

1234