Searched refs:ctr (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ccm.c | 21 struct crypto_skcipher_spawn ctr; member 27 struct crypto_skcipher *ctr; member 92 struct crypto_skcipher *ctr = ctx->ctr; in crypto_ccm_setkey() local 96 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey() 97 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) & in crypto_ccm_setkey() 99 err = crypto_skcipher_setkey(ctr, key, keylen); in crypto_ccm_setkey() 100 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctr) & in crypto_ccm_setkey() 317 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 382 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 407 struct crypto_skcipher *ctr; in crypto_ccm_init_tfm() local [all …]
|
D | gcm.c | 24 struct crypto_skcipher_spawn ctr; member 29 struct crypto_skcipher *ctr; member 98 struct crypto_skcipher *ctr = ctx->ctr; in crypto_gcm_setkey() local 110 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey() 111 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) & in crypto_gcm_setkey() 113 err = crypto_skcipher_setkey(ctr, key, keylen); in crypto_gcm_setkey() 114 crypto_aead_set_flags(aead, crypto_skcipher_get_flags(ctr) & in crypto_gcm_setkey() 119 data = kzalloc(sizeof(*data) + crypto_skcipher_reqsize(ctr), in crypto_gcm_setkey() 126 skcipher_request_set_tfm(&data->req, ctr); in crypto_gcm_setkey() 194 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_gcm_init_crypt() [all …]
|
D | Makefile | 85 obj-$(CONFIG_CRYPTO_CTR) += ctr.o
|