Home
last modified time | relevance | path

Searched refs:gcm (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb3_encrypt_kcf.c97 ctx->param.gcm.pIv = nonce; in smb3_crypto_init_gcm_param()
98 ctx->param.gcm.ulIvLen = SMB3_AES_GCM_NONCE_SIZE; in smb3_crypto_init_gcm_param()
99 ctx->param.gcm.ulTagBits = SMB2_SIG_SIZE << 3; /* bytes to bits */ in smb3_crypto_init_gcm_param()
100 ctx->param.gcm.pAAD = auth; /* auth data */ in smb3_crypto_init_gcm_param()
101 ctx->param.gcm.ulAADLen = authsize; /* auth data len */ in smb3_crypto_init_gcm_param()
103 ctx->mech.cm_param = (caddr_t)&ctx->param.gcm; in smb3_crypto_init_gcm_param()
104 ctx->mech.cm_param_len = sizeof (ctx->param.gcm); in smb3_crypto_init_gcm_param()
H A Dsmb3_encrypt.c315 boolean_t gcm; in smb3_decrypt_sr() local
327 gcm = B_FALSE; in smb3_decrypt_sr()
332 gcm = B_TRUE; in smb3_decrypt_sr()
337 gcm = B_FALSE; in smb3_decrypt_sr()
342 gcm = B_TRUE; in smb3_decrypt_sr()
412 if (gcm) { in smb3_decrypt_sr()
497 boolean_t gcm; in smb3_encrypt_sr() local
508 gcm = B_FALSE; in smb3_encrypt_sr()
513 gcm = B_TRUE; in smb3_encrypt_sr()
518 gcm = B_FALSE; in smb3_encrypt_sr()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dnsmb_crypt_kcf.c101 ctx->param.gcm.pIv = nonce; in nsmb_crypto_init_gcm_param()
102 ctx->param.gcm.ulIvLen = SMB3_AES_GCM_NONCE_SIZE; in nsmb_crypto_init_gcm_param()
103 ctx->param.gcm.ulTagBits = SMB2_SIG_SIZE << 3; /* bytes to bits */ in nsmb_crypto_init_gcm_param()
104 ctx->param.gcm.pAAD = auth; /* auth data */ in nsmb_crypto_init_gcm_param()
105 ctx->param.gcm.ulAADLen = authsize; /* auth data len */ in nsmb_crypto_init_gcm_param()
107 ctx->mech.cm_param = (caddr_t)&ctx->param.gcm; in nsmb_crypto_init_gcm_param()
108 ctx->mech.cm_param_len = sizeof (ctx->param.gcm); in nsmb_crypto_init_gcm_param()
H A Dnsmb_kcrypt.h63 CK_AES_GCM_PARAMS gcm; member
83 CK_GCM_PARAMS gcm;
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_encrypt_pkcs.c117 ctx->param.gcm.pIv = nonce; in smb3_crypto_init_gcm_param()
118 ctx->param.gcm.ulIvLen = SMB3_AES_GCM_NONCE_SIZE; in smb3_crypto_init_gcm_param()
119 ctx->param.gcm.pAAD = auth; /* auth data */ in smb3_crypto_init_gcm_param()
120 ctx->param.gcm.ulAADLen = authsize; /* auth data len */ in smb3_crypto_init_gcm_param()
121 ctx->param.gcm.ulTagBits = SMB2_SIG_SIZE << 3; /* bytes to bits */ in smb3_crypto_init_gcm_param()
123 ctx->mech.pParameter = (caddr_t)&ctx->param.gcm; in smb3_crypto_init_gcm_param()
124 ctx->mech.ulParameterLen = sizeof (ctx->param.gcm); in smb3_crypto_init_gcm_param()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_crypt_pkcs.c122 ctx->param.gcm.pIv = nonce; in nsmb_crypto_init_gcm_param()
123 ctx->param.gcm.ulIvLen = SMB3_AES_GCM_NONCE_SIZE; in nsmb_crypto_init_gcm_param()
124 ctx->param.gcm.pAAD = auth; /* auth data */ in nsmb_crypto_init_gcm_param()
125 ctx->param.gcm.ulAADLen = authsize; /* auth data len */ in nsmb_crypto_init_gcm_param()
126 ctx->param.gcm.ulTagBits = SMB2_SIG_SIZE << 3; /* bytes to bits */ in nsmb_crypto_init_gcm_param()
128 ctx->mech.pParameter = (caddr_t)&ctx->param.gcm; in nsmb_crypto_init_gcm_param()
129 ctx->mech.ulParameterLen = sizeof (ctx->param.gcm); in nsmb_crypto_init_gcm_param()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kcrypt.h59 CK_AES_GCM_PARAMS gcm; member
78 CK_GCM_PARAMS gcm;
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/
H A DMakefile20 SUBDIRS = cbc cbc_pad ccm cmac ctr ecb gcm
/illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/
H A DMakefile.com60 MODES_COMMON_OBJS = modes.o ecb.o cbc.o ctr.o ccm.o gcm.o
/illumos-gate/usr/src/test/os-tests/tests/pf_key/
H A Dacquire-compare.sh81 { tunnel rush0 raddr $T1_PREFIX negotiate tunnel } ipsec { encr_algs aes-gcm(256) }
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipsecalgs60 ALG|3|20|aes-gcm,aes-gcm16|CKM_AES_GCM|128/128-256,64|16|8,16,4|23
/illumos-gate/usr/src/uts/common/
H A DMakefile.files1622 kcf_random.o modes.o ecb.o cbc.o ctr.o ccm.o gcm.o \