Home
last modified time | relevance | path

Searched refs:EKi (Results 1 – 6 of 6) sorted by relevance

/src/crypto/openssl/crypto/modes/
H A Dgcm128.c822 ctx->Xn[mres++] = *(out++) = *(in++) ^ ctx->EKi.c[n]; in CRYPTO_gcm128_encrypt()
835 ctx->Xi.c[n] ^= *(out++) = *(in++) ^ ctx->EKi.c[n]; in CRYPTO_gcm128_encrypt()
865 (*block)(ctx->Yi.c, ctx->EKi.c, key); in CRYPTO_gcm128_encrypt()
876 out_t[i] = in_t[i] ^ ctx->EKi.t[i]; in CRYPTO_gcm128_encrypt()
892 (*block)(ctx->Yi.c, ctx->EKi.c, key); in CRYPTO_gcm128_encrypt()
903 out_t[i] = in_t[i] ^ ctx->EKi.t[i]; in CRYPTO_gcm128_encrypt()
915 (*block)(ctx->Yi.c, ctx->EKi.c, key); in CRYPTO_gcm128_encrypt()
926 ctx->Xi.t[i] ^= out_t[i] = in_t[i] ^ ctx->EKi.t[i]; in CRYPTO_gcm128_encrypt()
934 (*block)(ctx->Yi.c, ctx->EKi.c, key); in CRYPTO_gcm128_encrypt()
946 ctx->Xn[mres++] = out[n] = in[n] ^ ctx->EKi.c[n]; in CRYPTO_gcm128_encrypt()
[all …]
/src/sys/crypto/openssl/
H A Dossl_aes_gcm.c284 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, in gcm_encrypt()
293 ctx->gcm.Xi.c[n] ^= out[i] = in[i] ^ ctx->gcm.EKi.c[n]; in gcm_encrypt()
333 ctx->gcm.Xi.c[n] ^= *(out++) = *(in++) ^ ctx->gcm.EKi.c[n]; in gcm_encrypt_ctr32()
365 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, &ctx->aes_ks); in gcm_encrypt_ctr32()
373 ctx->gcm.Xi.c[mres++] ^= out[n] = in[n] ^ ctx->gcm.EKi.c[n]; in gcm_encrypt_ctr32()
436 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, in gcm_decrypt()
446 out[i] = c ^ ctx->gcm.EKi.c[n]; in gcm_decrypt()
488 *(out++) = c ^ ctx->gcm.EKi.c[n]; in gcm_decrypt_ctr32()
525 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, &ctx->aes_ks); in gcm_decrypt_ctr32()
535 out[n] = c ^ ctx->gcm.EKi.c[n]; in gcm_decrypt_ctr32()
H A Dossl_aes_gcm.h61 } Yi, EKi, EK0, len, Xi, H; member
/src/sys/crypto/openssl/arm/
H A Dossl_aes_gcm_neon.c188 ctx->gcm.Xi.c[n] ^= *(out++) = *(in++) ^ ctx->gcm.EKi.c[n]; in gcm_encrypt()
223 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, &ctx->aes_ks); in gcm_encrypt()
231 ctx->gcm.Xi.c[mres++] ^= out[n] = in[n] ^ ctx->gcm.EKi.c[n]; in gcm_encrypt()
272 *(out++) = c ^ ctx->gcm.EKi.c[n]; in gcm_decrypt()
312 AES_encrypt(ctx->gcm.Yi.c, ctx->gcm.EKi.c, &ctx->aes_ks); in gcm_decrypt()
322 out[n] = c ^ ctx->gcm.EKi.c[n]; in gcm_decrypt()
/src/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c322 __uint128_val_t EKi; member
379 aes_v8_encrypt(s->aes_counter, s->EKi.c, aes_key); in armv8_aes_encrypt_gcm_block()
381 to[0] = from[0] ^ s->EKi.u[0]; in armv8_aes_encrypt_gcm_block()
382 to[1] = from[1] ^ s->EKi.u[1]; in armv8_aes_encrypt_gcm_block()
422 aes_v8_encrypt(s.aes_counter, s.EKi.c, aes_key); in armv8_aes_encrypt_gcm()
425 block[i] ^= s.EKi.c[i]; in armv8_aes_encrypt_gcm()
/src/crypto/openssl/include/crypto/
H A Dmodes.h121 } Yi, EKi, EK0, len, Xi, H; member