Searched refs:cts_tfm (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/sunrpc/auth_gss/ |
D | gss_krb5_test.c | 530 struct crypto_sync_skcipher *cts_tfm, *cbc_tfm; in rfc3962_encrypt_case() local 546 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in rfc3962_encrypt_case() 547 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cts_tfm); in rfc3962_encrypt_case() 548 err = crypto_sync_skcipher_setkey(cts_tfm, param->Ke->data, param->Ke->len); in rfc3962_encrypt_case() 551 iv = kunit_kzalloc(test, crypto_sync_skcipher_ivsize(cts_tfm), GFP_KERNEL); in rfc3962_encrypt_case() 564 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, in rfc3962_encrypt_case() 565 iv, crypto_sync_skcipher_ivsize(cts_tfm)); in rfc3962_encrypt_case() 581 crypto_free_sync_skcipher(cts_tfm); in rfc3962_encrypt_case() 1117 struct crypto_sync_skcipher *cts_tfm, *cbc_tfm; in rfc6803_encrypt_case() local 1152 cts_tfm = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0); in rfc6803_encrypt_case() [all …]
|
D | gss_krb5_crypto.c | 675 int krb5_cbc_cts_encrypt(struct crypto_sync_skcipher *cts_tfm, in krb5_cbc_cts_encrypt() argument 684 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); in krb5_cbc_cts_encrypt() 717 err = gss_krb5_cts_crypt(cts_tfm, buf, offset + cbcbytes, in krb5_cbc_cts_encrypt() 740 int krb5_cbc_cts_decrypt(struct crypto_sync_skcipher *cts_tfm, in krb5_cbc_cts_decrypt() argument 748 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); in krb5_cbc_cts_decrypt() 776 return gss_krb5_cts_crypt(cts_tfm, buf, cbcbytes, desc.iv, NULL, 0); in krb5_cbc_cts_decrypt()
|
D | gss_krb5_internal.h | 197 int krb5_cbc_cts_encrypt(struct crypto_sync_skcipher *cts_tfm, 201 int krb5_cbc_cts_decrypt(struct crypto_sync_skcipher *cts_tfm,
|