Searched refs:gcm (Results 1 – 12 of 12) sorted by relevance
97 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()
315 boolean_t gcm; in smb3_decrypt_sr() local327 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() local508 gcm = B_FALSE; in smb3_encrypt_sr()513 gcm = B_TRUE; in smb3_encrypt_sr()518 gcm = B_FALSE; in smb3_encrypt_sr()[all …]
101 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()
63 CK_AES_GCM_PARAMS gcm; member83 CK_GCM_PARAMS gcm;
117 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()
122 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()
59 CK_AES_GCM_PARAMS gcm; member78 CK_GCM_PARAMS gcm;
20 SUBDIRS = cbc cbc_pad ccm cmac ctr ecb gcm
60 MODES_COMMON_OBJS = modes.o ecb.o cbc.o ctr.o ccm.o gcm.o
81 { tunnel rush0 raddr $T1_PREFIX negotiate tunnel } ipsec { encr_algs aes-gcm(256) }
60 ALG|3|20|aes-gcm,aes-gcm16|CKM_AES_GCM|128/128-256,64|16|8,16,4|23
1622 kcf_random.o modes.o ecb.o cbc.o ctr.o ccm.o gcm.o \