/openssl/crypto/hmac/ |
H A D | hmac_s390x.c | 123 ctx->plat.s390x.size = ctx->plat.s390x.blk_size * in s390x_HMAC_init() 196 if (ctx->plat.s390x.num == ctx->plat.s390x.size) { in s390x_HMAC_update() 202 remain = ctx->plat.s390x.size - ctx->plat.s390x.num; in s390x_HMAC_update() 288 dctx->plat.s390x.fc = sctx->plat.s390x.fc; in s390x_HMAC_CTX_copy() 289 dctx->plat.s390x.blk_size = sctx->plat.s390x.blk_size; in s390x_HMAC_CTX_copy() 290 dctx->plat.s390x.ikp = sctx->plat.s390x.ikp; in s390x_HMAC_CTX_copy() 291 dctx->plat.s390x.iimp = sctx->plat.s390x.iimp; in s390x_HMAC_CTX_copy() 293 memcpy(&dctx->plat.s390x.param, &sctx->plat.s390x.param, in s390x_HMAC_CTX_copy() 305 dctx->plat.s390x.size = sctx->plat.s390x.size; in s390x_HMAC_CTX_copy() 306 dctx->plat.s390x.num = sctx->plat.s390x.num; in s390x_HMAC_CTX_copy() [all …]
|
H A D | hmac_local.h | 51 } s390x; member
|
H A D | hmac.c | 122 if (ctx->plat.s390x.fc) in HMAC_Update() 138 if (ctx->plat.s390x.fc) in HMAC_Final()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ccm_hw_s390x.inc | 27 memset(sctx->ccm.s390x.nonce.b + 1, 0, sizeof(sctx->ccm.s390x.nonce.b)); 90 s390x_kmac(sctx->ccm.s390x.nonce.b, 32, sctx->ccm.s390x.fc, 97 s390x_kmac(aad, alen, sctx->ccm.s390x.fc, &sctx->ccm.s390x.kmac); 106 sctx->ccm.s390x.kmac.icv.b, sctx->ccm.s390x.fc, 129 sctx->ccm.s390x.fc, sctx->ccm.s390x.kmac.k); 172 sctx->ccm.s390x.fc, sctx->ccm.s390x.kmac.k); 192 sctx->ccm.s390x.fc, sctx->ccm.s390x.kmac.k); 199 s390x_km(sctx->ccm.s390x.nonce.b, 16, sctx->ccm.s390x.buf.b, 200 sctx->ccm.s390x.fc, sctx->ccm.s390x.kmac.k); 201 sctx->ccm.s390x.kmac.icv.g[0] ^= sctx->ccm.s390x.buf.g[0]; [all …]
|
H A D | cipher_aes_hw_s390x.inc | 38 adat->plat.s390x.fc = S390X_AES_FC(keylen); 39 memcpy(adat->plat.s390x.param.km.k, key, keylen); 50 &adat->plat.s390x.param.km); 60 adat->plat.s390x.fc = S390X_AES_FC(keylen); 85 &adat->plat.s390x.param.kmo_kmf); 93 adat->plat.s390x.param.kmo_kmf.cv, 94 adat->plat.s390x.fc, 95 adat->plat.s390x.param.kmo_kmf.k); 113 adat->plat.s390x.fc = S390X_AES_FC(keylen); 174 adat->plat.s390x.fc = S390X_AES_FC(keylen); [all …]
|
H A D | cipher_aes_gcm_hw_s390x.inc | 21 #define S390X_gcm_fc(A,C) ((A)->plat.s390x.fc | (A)->plat.s390x.hsflag |\ 45 actx->plat.s390x.mreslen = 0; 46 actx->plat.s390x.areslen = 0; 47 actx->plat.s390x.kreslen = 0; 53 actx->plat.s390x.hsflag = 0; 95 s390x_kma(actx->plat.s390x.ares, actx->plat.s390x.areslen, 96 actx->plat.s390x.mres, actx->plat.s390x.mreslen, out, 161 n = actx->plat.s390x.areslen; 227 n = actx->plat.s390x.mreslen; 239 s390x_kma(actx->plat.s390x.ares, actx->plat.s390x.areslen, [all …]
|
H A D | cipher_aes_xts_s390x.inc | 23 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km; 49 xctx->plat.s390x.iv_set = 1; 61 xctx->plat.s390x.key_set = 1; 64 xctx->plat.s390x.fc = fc | dec; 65 xctx->plat.s390x.offset = offs; 73 xctx->plat.s390x.fc = 0; 74 xctx->plat.s390x.offset = 0; 109 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km; 111 unsigned int fc = xctx->plat.s390x.fc; 121 || !xctx->plat.s390x.iv_set [all …]
|
H A D | cipher_aes_ccm.h | 43 } s390x; member
|
H A D | cipher_aes_gcm.h | 40 } s390x; member
|
H A D | cipher_aes_xts.h | 55 } s390x; member
|
H A D | cipher_aes.h | 47 } s390x; member
|
H A D | cipher_aes_xts.c | 157 if (in->plat.s390x.fc) in aes_xts_dupctx() 182 if (ctx->plat.s390x.fc) in aes_xts_cipher()
|
/openssl/crypto/sha/ |
H A D | build.info | 26 $SHA1ASM_s390x=sha1-s390x.S sha256-s390x.S sha512-s390x.S 65 $KECCAK1600ASM_s390x=keccak1600-s390x.S 161 GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl 162 INCLUDE[sha1-s390x.o]=.. 163 GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl 164 INCLUDE[sha256-s390x.o]=.. 165 GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl 166 INCLUDE[sha512-s390x.o]=.. 167 GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl
|
/openssl/crypto/poly1305/ |
H A D | build.info | 14 $POLY1305ASM_s390x=poly1305-s390x.S 52 INCLUDE[poly1305-s390x.o]=.. 53 GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl
|
/openssl/crypto/chacha/ |
H A D | build.info | 10 $CHACHAASM_s390x=chacha-s390x.S 50 INCLUDE[chacha-s390x.o]=.. 52 GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl
|
/openssl/crypto/bn/ |
H A D | build.info | 59 $BNASM_s390x=bn_asm.c s390x-mont.S 61 $BNASM_s390x=asm/s390x.S s390x-mont.S bn_s390x.c 64 $BNASM_s390x_ec2m=s390x-gf2m.s 150 GENERATE[s390x-mont.S]=asm/s390x-mont.pl 151 GENERATE[s390x-gf2m.s]=asm/s390x-gf2m.pl
|
/openssl/crypto/rc4/ |
H A D | build.info | 7 $RC4ASM_s390x=rc4-s390x.s 41 GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl
|
/openssl/crypto/modes/ |
H A D | build.info | 22 $MODESASM_s390x=ghash-s390x.S 90 GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl 91 INCLUDE[ghash-s390x.o]=..
|
/openssl/crypto/aes/ |
H A D | build.info | 27 $AESASM_s390x=aes-s390x.S 145 GENERATE[aes-s390x.S]=asm/aes-s390x.pl 146 INCLUDE[aes-s390x.o]=..
|
/openssl/.github/workflows/ |
H A D | cross-compiles.yml | 110 arch: s390x-linux-gnu, 111 libs: libc6-dev-s390x-cross, 112 target: linux64-s390x -Wno-stringop-overflow
|
/openssl/providers/ |
H A D | fips.module.sources | 19 crypto/aes/asm/aes-s390x.pl 65 crypto/bn/asm/s390x-gf2m.pl 66 crypto/bn/asm/s390x-mont.pl 67 crypto/bn/asm/s390x.S 259 crypto/modes/asm/ghash-s390x.pl 328 crypto/sha/asm/keccak1600-s390x.pl 341 crypto/sha/asm/sha1-s390x.pl 360 crypto/sha/asm/sha512-s390x.pl
|
H A D | fips-sources.checksums | 19 d139e5ad69560fd0ffd8aa2e72304e463650cea4c657be7a90e0d1eb782d580a crypto/aes/asm/aes-s390x.pl 65 ae26becda9f6d30e9edde8bb89c251a0c40a9a6c879c4cdaec273d8c09af9cd6 crypto/bn/asm/s390x-gf2m.pl 66 2700337ef133d6688047a1a8e1c671db06016aae777679923ce2b301896762cf crypto/bn/asm/s390x-mont.pl 67 aa02597f3dc09cfbc190aedb75711859ba0f3efff87067ebfba1ec78ebee40d7 crypto/bn/asm/s390x.S 259 4bb81f297f0c76762116895295fe027fb1b22ddb5b992c216128116afd09db77 crypto/modes/asm/ghash-s390x.pl 328 07b55370141200b9b765a3e6f118d85bb278838087198cc07c57f0121aba46c4 crypto/sha/asm/keccak1600-s390x.pl 341 a48c7d9403fe99fbd4daec60e96eb22058da766ab9e606d084a63613962851a2 crypto/sha/asm/sha1-s390x.pl 360 193a0ea240264b29dd68a425f604a6da4b18e28838dcf909dd7e711af880f782 crypto/sha/asm/sha512-s390x.pl
|
/openssl/crypto/poly1305/asm/ |
H A D | poly1305-s390x.pl | 48 use perlasm::s390x qw(:DEFAULT :GE :EI :MI1 :VX AUTOLOAD LABEL INCLUDE);
|
/openssl/crypto/chacha/asm/ |
H A D | chacha-s390x.pl | 43 use perlasm::s390x qw(:DEFAULT :VX :EI AUTOLOAD LABEL INCLUDE);
|
/openssl/crypto/perlasm/ |
H A D | s390x.pm | 12 package perlasm::s390x;
|