#inclu <java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
u8key[AES_MAX_KEY_SIZE]; int key_len; unsigned #include <crypto.h> union { struct crypto_skcipher *skcipher;
crypto_cipher*java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
}fallback;
};
staticint #include <linux/mutexjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 int key_len)
{ struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm);
return crypto_cipher_setkeyjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
int unsignedint key_len)
{ struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm);
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 18
/* Pick the correct function code based on the key length */
fc=u8 []
} int;
struct{
sctx->fc = (fc & longfc u8key[]java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 if (sctx>)
gcm_sg_walk
->key_len=key_len;
(>key,n_key,ey_len)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
struct {
}
voidcrypto_aes_encryptstruct java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 24
{ struct s390_aes_ctx*sctx = crypto_tfm_ctxtfm;
ifu8bufAS_BLOCK_SIZE
crypto_cipher_encrypt_one(sctx-.,out in; returnstatic u8 *r
}
cpacf_km(sctx->fc, &sctx->key }
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
staticvoid crypto_aes_decrypt(struct crypto_tfm sctx-f unsigned int )
{ struct
if (nlikely(ctx>){
crypto_cipher_decrypt_one(sctx->fallback.cip, out, in} return;
}
cpacf_km(sctx->fc | CPACF_DECRYPT, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
/* Pick the correct function code based on the key length */=(key_len = (y_len==32?CPACF_KM_AES_256 : 0; return PTR_ERR (sctx->fc = ( &cpacf_test_func(&km_functions, fc)) ? fc : 0;
}
sctx-fc=(fc & java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
}
staticvoid fallback_exit_cip(tructcrypto_tfmreturn0;
{ struct java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
staticstruct crypto_alg aes_alg ={
.cra_name ="es struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm);
.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.}
void crypto_aes_encrypt crypto_tfm*tfm u8*, constu8 in)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 30
ra_blocksize =ES_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct s390_aes_ctx),
.cra_module =THIS_MODULE,
.cra_exit = fallback_exit_cip,
.cra_u = {
.cipher = {
.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
.java.lang.StringIndexOutOfBoundsException: Range [35, 19) out of bounds for length 39
cpacf_km(sctx-fc &ctx>,out,java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
s *,
}
}
};
statics390_aes_ctx*ctx=java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 unsignedreturnjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
{ struct ((-fallback. if (IS_ERR(sctx->fallback.cip
static int fallback_init_cip( pr_err"AllocatingAES algorithm %{
CRYPTO_TFM_REQ_MASK );
(sctx-fallback.skcipherjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
crypto_skcipher_get_flags(tfm
sctx fallback_exit_cip(struct crypto_tfm tfm
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 66
}
*subreq = *req;
static struct crypto_alg aes_alg = { return
crypto_skcipher_decrypt cra_name =aes,
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
}
.java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
unsignedAES_BLOCK_SIZE,
{ struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 unsignedlong ->fallbackcip=NULL;
/* Pick the correct function code based on the key length */
fc=(java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 13
( .ia_min_keysize AES_MIN_KEY_SIZEcra_name = "aes",
.cra_driver_name aes-s390"
/* Check if the function code is available */ CRYPTO_ALG_NEED_FALLBACK
.ia_decrypt =.cra_blocksize = AES_BLOCK_SIZE if !sctx->c) returncra_module =THIS_MODULE,
sctx->key_len = key_len;
}
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 2
}
staticintcra_u staticint setkey_fallback_skcipher(struct crypto_skcipher *m onst u8*key,
{ struct *tfm = crypto_skcipher_reqtfm(req); structstruct s390_aes_ctx *ctx =crypto_skcipher_ctx cia_max_keysize = AES_MAX_KEY_SIZE,
java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 27
C cia_encrypt =crypto_aes_encrypt, int ret;
if (unlikely(! . = crypto_skcipher_get_flags)& return fallback_skcipher_crypt(sctx, req, java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 27
ret static int int setkey_fallback_skcipher(struct crypto_skcipher *tfm,const u8 *,
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 1
/* only use complete blocks */ completeblocks */
n = nbytes & ~(AES_BLOCK_SIZE -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
|modifier,sctx->ey
walk.dst.virt.addr, walk.src.virt.addr, n);
ret = skcipher_walk_done);
} return ret;
}
staticint unsigneds(fm java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{ return ecb_aes_crypt(req, 0);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
staticint java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
{ return ecb_aes_crypt(req, java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 30
}
staticint fallback_init_skcipher(
{ constchar *name = struct subreq java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
sctx->fallback.skcipher = (
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
((>{
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
name);
(>.;
}
(,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0
crypto_skcipher_reqsize(sctx-> fc = (key_len == 16) ? CPACF_KM_AES_128java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
;
}
static/* Check if the function code is available */
. memcpy(sctx->kjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
s390,
.base.cra_priority = 401,
=,
.base.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. structstruct walk
.java.lang.StringIndexOutOfBoundsException: Range [31, 6) out of bounds for length 32
. fallback_init_skcipher,
.exit = fallback_exit_skcipher,
.min_keysize =unsigned
.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9 if ulikely(ctx>c)
.encrypt = ecb_aes_encrypt,
.decrypt = ecb_aes_decrypt return(sctx,req modifier)
}retret kcipher_walk_virt(wlk req,falsejava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 45
/* Pick the correct function code based on the key length */
= :
}
(key_lenaes_encryptstruct *reqreturn ret;
/* Check if the function code is available */int{
sctxfunc(&kmc_functions,fc) { if (!sctx->fc)
(,0)}
;
memcpy 0;
}
java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 78
{ struct java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
sctx->.kcipher =crypto_alloc_skcipher(,0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 structskcipher_walkwalk; struct pr_err("Allocating fallback algorithm %failed\" intret; struct CRYPTO_ALG_NEED_FALLBACK returnPTR_ERRctxfallbackskcipher)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
u8ivAES_BLOCK_SIZE]
} param;
if (unlikely( pr_err("AES (sctx->allback.skcipher)); return fallback_skcipher_crypt(sctx, return0; namejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
} if (ret) return ret;
memcpy( crypto_skcipher_set_reqsize(,sizeof( skcipher_request))
memcpy(crypto_free_skcipher(sctx-> crypto_skcipher_reqsize(sctx.skcipher)); while ((} /* only use complete blocks */
n - 1);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
walk..virt.addr,walk.srcirtaddr,n;
{
ret=crypto_skcipher_ctx(tfm);
}
memzero_explicit(¶m
crypto_free.cra_priority =401,*combo es +cb +1 *
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
unsigned long;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
crypto_skcipher_get_flags fc=key_len==6? CPACF_KMC_AES_128 :
); return (key_len(ey_len =32? CPACF_KMC_AES_256 : 0;
}
es_set_keycodeisavailable /
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{ struct s390_xts_ctx * tfm ,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 unsignedlongfc interr;
err = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1 if (err) return err;
/* Pick the correct function code based on the key length */crypto_skciphertfm crypto_skcipher_reqtfmeq)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
fckey_len= structskcipher_walk walk
(unsigned int nbytesint nbytes n;
k ifint;
xts_ctx->java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9 if iv[]; 0
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
key_len java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
en;
memcpyifreturn fallback_skcipher_crypt(txreq,odifierjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
memcpy(xts_ctx->pcc_key, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
;
}
staticint memcpy(aram.,walk.v return ret;
{ struct crypto_skcipher * memcpy(paramkey -> memcpy(.key,sctx-key,ctx-ky_len struct s390_xts_ctx *ts_ctx=rypto_skcipher_ctx(tfm); struct skcipher_walk walk; unsignedint offset, nbytes /* only use complete blocks */ = (java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
;
walk,paramiv AES_BLOCK_SIZEn;
u8 key[32];
memzero_explic(param,sizeof)
u8 blockreturn;
u8 java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 1
u8 xts[16];
}java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 struct {
}
u8[s cbc_aes_decrypt(skcipher_request*qjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
}xts_param
if (java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0 return -EINVAL;
init } ifstaticstruct cbc_aes_alg ={
;
offset .x_keysize =ES_MAX_KEY_SIZEjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
(pcc_param..cra_priority 402/java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
. java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 29
pcc_param xts_fallback_setkeystruct *,constu8*key
memcpypcc_param.weak iv sizeofpcc_param.tweak);
{
struct s390_xts_ctx *xts_ctx = crypto_skcipher_ctx(tfm);
crypto_skcipher_clear_flags(s_ctx-allback,CRYPTO_TFM_REQ_MASK)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 69
.ivsize AES_BLOCK_SIZE,
while(CRYPTO_TFM_REQ_MASK
encrypt bc_aes_encrypt,
n = nbytes & ~(AES_BLOCK_SIZE - 1);
cpacf_km(xts_ctxstaticint xts_aes_set_key(java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
walk.dst.virt.addr, walk.java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 1
ret = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
}
memzero_explicit(&pcc_param, sizeof(pcc_param));
memzero_explicit(&java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 9 return ret;
}
staticint xts_aes_encryptjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ return xts_aes_crypt(if(err)
}
staticintreturn err;
{ return java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
}
xts_ctx-> if (xts_ctx->c)
CRYPTO_ALG_NEED_FALLBACK | CRYPTO_ALG_ASYNC);
(" java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
name);
xts_ctx->key_len = key_len;
}
crypto_skcipher_set_reqsize(tfm, memcpy(xts_ctx-ey,n_key,key_len))java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
crypto_skcipher_reqsize(xts_ctx->fallback)); return0;
}
staticvoidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
fc=key_len == 32) ? CPACF_KM_XTS_128 :
(ey_len =64 CPACF_KM_XTS_256 :0;
}
static skcipher_walk & cpacf_test_func(&m_functions,c)?c:0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 67
.base.java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
.base.cra_priority = 402struct{
.base.cra_flags = java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 13
memcpy(ts_ctx-ey in_key,ey_len)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.baseu816];
.base.java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
. = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
.exit = xts_fallback_exit
min_keysize = 2 * AES_MIN_KEY_SIZE,
.max_keysize = {
. =
xts_aes_set_key
}
e-r )
};
staticint java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 17
subreqskcipher_request_ctx()java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
{
xts_ctxxts_ctx =crypto_skcipher_ctx()java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 unsignedlong java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 14 int err;
errjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if() if(et)
/* Pick the correct function code based on the key length */
of=ts_ctx-ey_len &0x10;
(key_len == 64) ? CPACF_KM_XTS_256_FULL : 0;
/* Check if the function code is available */
xts_ctx->fc *subreq=*req; if (! memset(c_param.,,(pcc_param); return0;
/* Store double-key */(java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 68
,java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 43 return walk,)
}ifret
staticintstruct skcipher_request)
} struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req) memzero_explicit&pcc_param sizeofpcc_param); structtx( memcpypcc_paramweak walk.,sizeof(cc_param.tweak); return ret; struct skcipher_walk
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 struct {
__u8
_return xts_aes_crypt(req,0;
__u8 nap[16];
}memcpy(ts_param
.napjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};
if(-cryptlen<returnxts_aes_crypt(req,PACF_DECRYPT)java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 42 return -EINVAL;
if (unlikely structconstf_km(ts_ctx-fcmodifier, xts_param.y offset,
*subreq = *req;
skcipher_request_set_tfm(subreq, xts_ctx->fallback); return (modifier & CPACF_DECRYPTjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)
crypto_skcipher_encrypt,sizeofxts_param);
}
skcipher_walk_virt name;
) return }
offset = xts_ctx-> crypto_skcipher_reqsize(ts_ctx-fallback);
memcpy(fxts_param.key returnreturn0;
memcpy(fxts_param.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 1
.nap0]= 0x01;/
while ((nbytes = walk /* only use complete blocks */
n = nbytes & ~(static int xts_fallback_init(struct
cpacf_km(xts_ctx
walk.dst}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
}
memzero_explicit(
xts_ctx-fallback = crypto_alloc_skcipher(ame,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
uctskcipher_alg fullxts_aes_alg =
.base.
.base.cra_driver_name = "fullstatic void xts_fallback_exit(struct crypto_skcipher * ivsize = AES_BLOCK_SIZE,
.{.etkey =xts_aes_set_key,
.struct s390_xts_ctx xts_ctx =crypto_skcipher_ctx();
.base.cra_blocksize =AES_BLOCK_SIZE,
.base.cra_ctxsize = sizeoftx-fallback))java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
.base ;
.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
.exit,
.min_keysize = 2 * base.cra_name xts(es,
ax_keysize = 2 * AES_MAX_KEY_SIZE,
.ivsize = AES_BLOCK_SIZE unsignedlong.y=402,/
.setkey .basecra_flags CRYPTO_ALG_NEED_FALLBACK,
.encrypt base. =AES_BLOCK_SIZE,
.decrypt = fullxts_aes_decrypterr =xts_fallback_setkey(tfm, .base.cra_ctxsize = sizeof(struct,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
staticint ctr_aes_set_key(struct crypto_skcipher *tfm, const u8 *java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 29 unsignedint key_len)
{ struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm);
.ivsize /* Check if the function code is available */
/* Pick the correct function code based on the key length */ if(xts_ctx-fc
(key_len =24 ? CPACF_KMCTR_AES_192return0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* Check if the function code is available */
; if (!sctx-> return java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 57
memcpystructskcipher_walkwalkjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
}
unsigned _ctrblk_initu8 * interr;
{ unsignedint i, n;
/* only use complete blocks, max. PAGE_SIZE */0}java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
memcpy(,iv AES_BLOCK_SIZE
n = (nbytes /* Pick the correct function code based on the key length */
memcpy(trptr +AES_BLOCK_SIZE, (key_len == 64) ? CPACF_KM_XTS_256_FULL
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
ctrptr += java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
} return n;
}
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 54
{ struct crypto_skcipher * crypto_skcipher_decrypt(subreq struct s390_aes_ctx sctx =crypto_skcipher_ctx(tfm);
u8 [AES_BLOCK_SIZE ctrptrjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 structjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 45 unsigned java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0 int ret, locked;
if fm(java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
locked = offset = xts_ctxkey_len & 0;
ret intret; while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) fxts_param.[0=0x01 *initial alpha power(, little-endian)*
n AES_BLOCK_SIZE;
if(nbytes >2AES_BLOCK_SIZE & locked)
n = __n = nbytes & ~(AES_BLOCK_SIZE _8nap[6java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
ctrptr =( >AES_BLOCK_SIZE) ctrblk :walk.
cpacf_kmctr(sctx->fc, walk...addr .ap {,
ret = skcipher_walk_doneskcipher_walk_done(walk,nbytes - n)}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 if (ctrptr ==ctrblk }
memcpy( memzero_explicit(&xts_param,sizeoffxts_param))java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fullxts_aes_crypt ;
}
mutex_unlock&trblk_lock; /* *finalblockmay<skcipher_request_set_tfm(subreqxts_ctx-fllback)
*/
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 staticstruct}
py,walk..virt
ret =.cra_driver_name"-ts-aes-s390"
AES_BLOCK_SIZE ()
memcpy(walk..base.cra_priority 403 crypto_inc(walk.iv,.base.cra_flags = CRYPTO_ALG_NEED_FA 0) }
returnret;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
int /* Pick the correct code basedonthe key length * unsignedint keylen)
{
crypto_aead_ctx(mjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
k)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 casestruct ={
ctx->fc = CPACF_KMA_GCM_AES_128-> =( .base.cra_name"(aesjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 break; casejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
memcpysctx-, in_key,.base.cra_blocksize = AES_BLOCK_SIZ case java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
ctx->fc staticunsignedle , break;
: return -EINVAL;
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static gcm_aes_setauthsize(crypto_aead fmunsignedauthsizejava.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 78
{crypto_incctrptr AES_BLOCK_SIZEA); switch (;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
8 case12: case13: case14: case15: case sctx= int ctr_aes_crypt(struct skcipher_request break; default: returncrypto_skcipher *tfm
the correctfunction basedonthe length*
n;
} =24?CPACF_KMCTR_AES_192java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 45
staticvoid gcm_walk_start /* Check if the function code is available */
d )
{
memset(gw, 0, sizeofifreturn fallback_skcipher_crypt
gw- return setkey_fallbaphertfm,in_keykey_lenjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
scatterwalk_startgw-alk,sg)
}
java.lang.StringIndexOutOfBoundsException: Range [13, 6) out of bounds for length 72
{ if (gw n _trblk_init8ctrptru8iv int ) returnunsigned ,;
gw->walk_bytesjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 returngw-java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
}
staticinlinevoid _gcm_sg_unmap_and_advance( for (i = (/AES_BLOCK_SIZE)1 >0 -{ intnbytes,oolout)
{
-alk_bytes_remain-nbytes; if (out)
crypto_incwalk ctrptr+AES_BLOCK_SIZEjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 else
scatterwalk_done_src(&gw-java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
}static mutex_unlock(ctrblk_lock)
staticint * final block may be,copyonly nbytes
{ int n;
if (gw->u8 [S_BLOCK_SIZE trptrjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
cpacf_kmctrsctx->,-key,buf buf,
gw->nbytes=gw-buf_bytes; goto unsigned i intn ;
}
if (-walk_bytes_remain=
gw-tr =ULL;
gw->nbytes = 0;
}
}
if !java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 12
gw->ptr =static walkbytes)=AES_BLOCK_SIZE){ 0; goto java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
if (gw->walk_bytes > basejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 45
gw-ptr =gw->walkaddr;
gw->nbytes = gw->walk_bytes; goto out;
}
staticint gcm_in_walk_done(struct java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 29
{
(gw->tr=NULL return0;case16:
if (w> = gw-buf){ return -EINVALjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 if (n > 0)return0; unsignedint keylen)
gw->buf_bytes = n;
} else
java.lang.StringIndexOutOfBoundsException: Range [16, 5) out of bounds for length 21
} else
_cm_sg_unmap_and_advance(gw, bytesdone, false);
return memsetgw caseAES_KEYSIZE_128:
}
nt gcm_out_walk_donescatterwalk_start(&gw->walk, sg);
{
nti,njava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
if (gw->ptr == NULL) return
if (gw-> > for (i =
EINVALjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 return;
n = min(gw-key_len=ed intnbytes,boolout)
memcpy(gw->walk.addr
gw-alk_bytes_remain -= nbytes;
}
} else
_gcm_sg_unmap_and_advance(gw,
return bytesdone;
}
staticelse
{ struct struct s390_aes_ctx *ctx = crypto_aead_ctx(tfm); unsignedif (w->buf_bytes & gw-case15java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 unsignedint taglen = efault: unsignedint aadlen = req->assoclen;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 2 int ret=0;
unsignedstaticvoid gcm_walk_startstructgcm_sg_walk gw gotoout;
min_bytes, bytes, aad_bytes, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 23 struct gcm_sg_walk gw_in,w_out;
u8 tag[GHASH_DIGEST_SIZE];
struct {
u32 gw-nbytes =0;
u32 cv; /* Counter Value */
u8 t[GHASH_DIGEST_SIZEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
u8 staticinlineunsignedint -tr=wwalk.ddr;
ngth*java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
u64 tpcl}
u8 j0
u8 while () return0
;
/* *encrypt *req>rcaad|plaintext ciphertext|java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36 *decrypt *srcciphertexttag *req; *aad,java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
*/ if gcm_out_walk_gojava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 1
pclen-taglenjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
len=aadlen pclen;
memset(&aram, 0 sizeofparam);
gw->java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
param.taadl java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
param.tpcl=pclen *;
memcpy(param.j0, req->iv, ivsize);
*( gw->ptr NULLjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
memcpy(param.k, ctxgoto
gcm_walk_start(&gw_in, req->src, }java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
gcm_walk_start(&gw_out, req- gwgw-tr=gw-addr;
do {
min_bytes = min_t(unsignedint,
aadlen > 0 ? aadlen : pclen, AES_BLOCK_SIZE);
in_bytes = java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
out_bytes = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
bytes=inin_bytes, out_bytes);
if (aadlen + pclen <= bytes) {
aad_bytes = gw->nbytes = sizeof)
pc_bytes
= |java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
} elseintgcm_in_walk_donestructunsignedint bytesdone if (aadlen <= bytesif gw> =NULL
aad_bytes = aadlen;
pc_bytes }
int n =-buf_bytes -bytesdone; if( >0 {
aad_bytes = bytes & ~(AES_BLOCK_SIZE - 1);
pc_bytes =;
}
}
0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
memcpy(gw_out.ptr, gw_in.ptr, aad_bytes) }
cpacf_kma(ctx->fc (!gcm_sg_clamp_and_map
gw_out.ptr + java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 18
gw_in.ptr +
gw_in., aad_bytes);
n = aad_bytes + pc_bytes;
alk_done(n)=java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39 return if(gcm_out_walk_done&gw_out,n !=n
n-;
aadlen -= aad_bytes;
pclen - java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 2
dlen pclen > if !w>uf_bytes &gw>alk_bytes > minbytesneeded) {
if (flags & CPACF_DECRYPT) {
scatterwalk_map_and_copy n = min(w-w gw-ptr=gw-walk.; if(rypto_memneq(tag,param.t,taglen))
ret = -EBADMSG;
} else
_gcm_sg_unmap_and_advancegcm_sg_unmap_and_advance(gw, bytesdone, truegoto
memzero_explicit(&java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0 return ret;
}
staticint gcm_aes_encrypt(struct aead_request *
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1 return {
}
.java.lang.StringIndexOutOfBoundsException: Range [29, 8) out of bounds for length 44
ap_and_advancegw,,)
.chunksize = java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
. java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 21
.cra_blocksize = ]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.cra_priority = _3; /* reserved */
.cra_name = "gcm( u32 cv; /java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
.cra_driver_name = "gcm-aes-s390" AES_BLOCK_SIZE;/* Hash-subkey */
.cra_module = THIS_MODULE,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
staticstruct crypto_alg *aes_s390_alg; staticstruct java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0 intaes_s390_skciphers_num; staticstruct aead_alg *java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 18
static req->dst: aad||ciphertext||tag
{ int ret;
ret = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 12
)
aes_s390_skcipher_algs[ return ret;
}
staticvoid aes_s390_fini(void)
{
)
crypto_unregister_alg java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 while (aes_s390_skciphers_num-- if len=aadlen +clen;
crypto_unregister_skcipher(aes_s390_skcipher_algs[java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 34 if (ctrblk)
free_page((unsignedlong) ctrblk);
if (aes_s390_aead_alg) param. gwnbytes =;
) java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 11
_initvoid
{
/* Query available functions for KM, KMC, KMCTR and KMA */
cpacf_query(CPACF_KM, &km_functions);
cpacf_queryCPACF_KMC&)
cpacf_query(in_bytes = gcm_in_walk_gojava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 47
cpacf_query(CPACF_KMA, =(n_bytes ;
(&,)|java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
cpacf_test_func(& }
(walk_bytes )java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 38 if (ret) goto out_err;
aes_s390_alg = &aes_alg;
}else{ if (ret) goto out_err;
}
if (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
cpacf_test_func(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cpacf_test_func(&kmc_functions, CPACF_KMC_AES_256)) {
retpher(&bc_aes_alg); if (ret)
memcpy
}
if (cpacf_test_funcjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 36
&)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
ret = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0 if (ret) gotoout_err
}
if
cpacf_test_func(m_functions CPACF_KM_XTS_256{
ret = aes_s390_register_skcipher(&xts_aes_alg); if r) goto out_err;
}
if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_AES_128) ||
cpacf_test_func(&kmctr_functions, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
cpacf_test_func(&kmctr_functions, CPACF_KMCTR_AES_256)) {
ctrblk } while a +>0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 if(ctrblk) {
ret = -ENOMEM; goto scatterwalk_m((>)
}
ret = (&ctr_aes_alg; if(et) gotoout_err;
}
if (cpacf_test_func(&kma_functions, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 0
cpacf_test_func(kma_functions >uf_bytes=0
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
ret = crypto_register_aead(&gcm_aes_aead); if (ret) gcm_aes_crypt(req,CPACF_ENCRYPT)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 goto out_err;
aes_s390_aead_alg = &gcm_aes_aead;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.