Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- crypto/aead.c, line 310
- crypto/authenc.c, line 425
- crypto/authencesn.c, line 434
- crypto/ccm.c
- crypto/chacha20poly1305.c, line 444
- crypto/cryptd.c, line 904
- crypto/echainiv.c, line 124
- crypto/essiv.c, line 603
- crypto/gcm.c
- crypto/krb5enc.c, line 481
- crypto/pcrypt.c, line 295
- crypto/seqiv.c, line 149
Smatch caller information:
crypto/gcm.c crypto_gcm_create_common() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 24 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 6332139158077206528 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 850886129001742336 |
| PARAM_VALUE | 1 | inst->alg.exit | 6088971166805835776 |
| PARAM_VALUE | 1 | inst->alg.init | 7758986847697842176 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 12 |
| PARAM_VALUE | 1 | inst->alg.maxauthsize | 16 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 6677996289016578048 |
| PARAM_VALUE | 1 | inst->alg.setkey | 2684755619996856320 |
| PARAM_VALUE | 1 | inst->free | 2513051404545998848 |
| BUF_SIZE | 1 | inst | 536 |
| BUF_SIZE | 1 | inst | 536 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 0 | tmpl | (-1),127 |
| STR_LEN | 0 | tmpl | (-1),127 |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/gcm.c crypto_rfc4106_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 7104873702403756032 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 5142989653962342400 |
| PARAM_VALUE | 1 | inst->alg.exit | 1547576267209216000 |
| PARAM_VALUE | 1 | inst->alg.init | 1725672274157252608 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 8 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 4238709123456323584 |
| PARAM_VALUE | 1 | inst->alg.setkey | 8158218882399608832 |
| PARAM_VALUE | 1 | inst->free | 8877409746813071360 |
| BUF_SIZE | 1 | inst | 536 |
| BUF_SIZE | 1 | inst | 536 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/gcm.c crypto_rfc4543_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 2674539411914641408 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 6746996824073670656 |
| PARAM_VALUE | 1 | inst->alg.exit | 7397309815299645440 |
| PARAM_VALUE | 1 | inst->alg.init | 1608836423196954624 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 8 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 2522058618195767296 |
| PARAM_VALUE | 1 | inst->alg.setkey | 7125080962871029760 |
| PARAM_VALUE | 1 | inst->free | 4442847820937093120 |
| BUF_SIZE | 1 | inst | 536 |
| BUF_SIZE | 1 | inst | 536 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/krb5enc.c krb5enc_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3905742193898205184 |
| PARAM_VALUE | 0 | tmpl->create | 1590479095229669376 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 2123732650431254528 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 4367216502768676864 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 2870068561737859072 |
| PARAM_VALUE | 1 | inst->alg.exit | 6849862682391908352 |
| PARAM_VALUE | 1 | inst->alg.init | 5661455447131815936 |
| PARAM_VALUE | 1 | inst->alg.setkey | 3712539372472745984 |
| PARAM_VALUE | 1 | inst->free | 3823851120537661440 |
| BUF_SIZE | 1 | inst | 592 |
| BUF_SIZE | 1 | inst | 592 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/essiv.c essiv_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 7071524467933614080 |
| PARAM_VALUE | 0 | tmpl->create | 7613144355428663296 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 2464335014726176768 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.decrypt | 1512108062686019584 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 6898183578294743040 |
| PARAM_VALUE | 1 | inst->alg.exit | 3009932286219739136 |
| PARAM_VALUE | 1 | inst->alg.init | 9189966446766477312 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 4277861529242710016 |
| PARAM_VALUE | 1 | inst->alg.setkey | 1061955958889312256 |
| PARAM_VALUE | 1 | inst->free | 4711941792325836800 |
| BUF_SIZE | 1 | inst | 792 |
| BUF_SIZE | 1 | inst | 792 |
| CAPPED_DATA | 1 | inst->alg.ivsize | 1 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| BIT_INFO | 1 | inst->alg.ivsize | 0x0,0x7fffffff |
crypto/seqiv.c seqiv_aead_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 252484085465853952 |
| PARAM_VALUE | 0 | tmpl->create | 4140008627268866048 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 559285493041262592 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 4986214194169147392 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 1136624597582958592 |
| PARAM_VALUE | 1 | inst->alg.exit | 4840311674626965504 |
| PARAM_VALUE | 1 | inst->alg.init | 3249908610261458944 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 8 |
| BUF_SIZE | 1 | inst | (-1),128,392 |
| BUF_SIZE | 1 | inst | (-1),128,392 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r aead_geniv_alloc |
crypto/authenc.c crypto_authenc_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 8127951375703707648 |
| PARAM_VALUE | 0 | tmpl->create | 6322954319875715072 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 1725414715113975808 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 3631412889827991552 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 4029167675762065408 |
| PARAM_VALUE | 1 | inst->alg.exit | 1124741157458132992 |
| PARAM_VALUE | 1 | inst->alg.init | 3190393618093527040 |
| PARAM_VALUE | 1 | inst->alg.setkey | 6307917945173553152 |
| PARAM_VALUE | 1 | inst->free | 6926923589644664832 |
| BUF_SIZE | 1 | inst | 592 |
| BUF_SIZE | 1 | inst | 592 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/authencesn.c crypto_authenc_esn_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3063700081702297600 |
| PARAM_VALUE | 0 | tmpl->create | 2182199603961544704 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 6696700511557009408 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 24 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 3708290921570893824 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 8909566782147612672 |
| PARAM_VALUE | 1 | inst->alg.exit | 7767901698460114944 |
| PARAM_VALUE | 1 | inst->alg.init | 6794432174987870208 |
| PARAM_VALUE | 1 | inst->alg.maxauthsize | 0,4-u32max |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 6265181926079074304 |
| PARAM_VALUE | 1 | inst->alg.setkey | 348237028938645504 |
| PARAM_VALUE | 1 | inst->free | 229054482227118080 |
| BUF_SIZE | 1 | inst | 584 |
| BUF_SIZE | 1 | inst | 584 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/chacha20poly1305.c chachapoly_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16,20 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 8380996293720190976 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 7657371700268007424 |
| PARAM_VALUE | 1 | inst->alg.exit | 5701491078102347776 |
| PARAM_VALUE | 1 | inst->alg.init | 6528342219919253504 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 8,12 |
| PARAM_VALUE | 1 | inst->alg.maxauthsize | 16 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 7458699931324416000 |
| PARAM_VALUE | 1 | inst->alg.setkey | 4017091416295288832 |
| PARAM_VALUE | 1 | inst->free | 2183202801291915264 |
| BUF_SIZE | 1 | inst | 544 |
| BUF_SIZE | 1 | inst | 544 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| FUZZY_MAX | 1 | inst->alg.base.cra_ctxsize | 20 |
| STR_LEN | 0 | tmpl | 7,10 |
| STR_LEN | 0 | tmpl | 7,10 |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
| HARD_MAX | 1 | inst->alg.base.cra_ctxsize | 20 |
crypto/echainiv.c echainiv_aead_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 8446016760947126272 |
| PARAM_VALUE | 0 | tmpl->create | 1859691152888508416 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 629284439024377856 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 7007656736811823104 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 1012840962762092544 |
| PARAM_VALUE | 1 | inst->alg.exit | 4840311674626965504 |
| PARAM_VALUE | 1 | inst->alg.init | 3249908610261458944 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 1-u32max |
| BUF_SIZE | 1 | inst | (-1),128,392 |
| BUF_SIZE | 1 | inst | (-1),128,392 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r aead_geniv_alloc |
| BIT_INFO | 1 | inst->alg.ivsize | 0x0,0xfffffff8 |
crypto/pcrypt.c pcrypt_create_aead() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 6998612433419063296 |
| PARAM_VALUE | 0 | tmpl->create | 1159678125055008768 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 3273859763330879488 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.base.cra_flags | 0,128-u32max |
| PARAM_VALUE | 1 | inst->alg.decrypt | 2665899715994484736 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 901172517068513280 |
| PARAM_VALUE | 1 | inst->alg.exit | 8206571946517823488 |
| PARAM_VALUE | 1 | inst->alg.init | 7785761755762548736 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 6698659262343880704 |
| PARAM_VALUE | 1 | inst->alg.setkey | 6557214647984541696 |
| PARAM_VALUE | 1 | inst->free | 1061924076887437312 |
| BUF_SIZE | 1 | inst | 560 |
| BUF_SIZE | 1 | inst | 560 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| BIT_INFO | 1 | inst->alg.base.cra_flags | 0x80,0xffffffff |
crypto/ccm.c crypto_ccm_create_common() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 7187886738185285632 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 6607746437341683712 |
| PARAM_VALUE | 1 | inst->alg.exit | 6876951983087599616 |
| PARAM_VALUE | 1 | inst->alg.init | 5849854781945802752 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 16 |
| PARAM_VALUE | 1 | inst->alg.maxauthsize | 16 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 7949768729511268352 |
| PARAM_VALUE | 1 | inst->alg.setkey | 1415899764733378560 |
| PARAM_VALUE | 1 | inst->free | 2756545252824072192 |
| BUF_SIZE | 1 | inst | 584 |
| BUF_SIZE | 1 | inst | 584 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 0 | tmpl | (-1),127 |
| STR_LEN | 0 | tmpl | (-1),127 |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/ccm.c crypto_rfc4309_create() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_blocksize | 1 |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.decrypt | 1842165338287595520 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 7088223904415203328 |
| PARAM_VALUE | 1 | inst->alg.exit | 235556343341391872 |
| PARAM_VALUE | 1 | inst->alg.init | 7300266898661330944 |
| PARAM_VALUE | 1 | inst->alg.ivsize | 8 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 8033927830899204096 |
| PARAM_VALUE | 1 | inst->alg.setkey | 6821313064880308224 |
| PARAM_VALUE | 1 | inst->free | 1790163936231202816 |
| BUF_SIZE | 1 | inst | 536 |
| BUF_SIZE | 1 | inst | 536 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| STR_LEN | 1 | inst->alg.base.cra_driver_name | 127 |
| STR_LEN | 1 | inst->alg.base.cra_name | 127 |
crypto/cryptd.c cryptd_create_aead() -> aead_register_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 1296894449256980480 |
| PARAM_VALUE | 0 | tmpl->create | 4352674867827011584 |
| PARAM_VALUE | 0 | tmpl->dead | 0 |
| PARAM_VALUE | 0 | tmpl->free_work | 0 |
| PARAM_VALUE | 0 | tmpl->module | 0 |
| PARAM_VALUE | 0 | tmpl->name | 6589367075984269312 |
| PARAM_VALUE | 1 | inst | 4096-ptr_max |
| PARAM_VALUE | 1 | inst->alg.base.cra_ctxsize | 16 |
| PARAM_VALUE | 1 | inst->alg.base.cra_flags | 0,128-u32max |
| PARAM_VALUE | 1 | inst->alg.decrypt | 6755975561836044288 |
| PARAM_VALUE | 1 | inst->alg.encrypt | 131104687964848128 |
| PARAM_VALUE | 1 | inst->alg.exit | 4255927098492575744 |
| PARAM_VALUE | 1 | inst->alg.init | 4272914888199753728 |
| PARAM_VALUE | 1 | inst->alg.setauthsize | 7773159247276421120 |
| PARAM_VALUE | 1 | inst->alg.setkey | 5642373090831552512 |
| PARAM_VALUE | 1 | inst->free | 8296777351538696192 |
| BUF_SIZE | 1 | inst | 544 |
| BUF_SIZE | 1 | inst | 544 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | inst | r _kzalloc_noprof |
| BIT_INFO | 1 | inst->alg.base.cra_flags | 0x80,0xffffffff |