Home
last modified time | relevance | path

Searched refs:cbc_tfm (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_krb5_test.c530 struct crypto_sync_skcipher *cts_tfm, *cbc_tfm; in rfc3962_encrypt_case() local
541 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in rfc3962_encrypt_case()
542 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cbc_tfm); in rfc3962_encrypt_case()
543 err = crypto_sync_skcipher_setkey(cbc_tfm, param->Ke->data, param->Ke->len); in rfc3962_encrypt_case()
564 err = krb5_cbc_cts_encrypt(cts_tfm, cbc_tfm, 0, &buf, NULL, in rfc3962_encrypt_case()
582 crypto_free_sync_skcipher(cbc_tfm); in rfc3962_encrypt_case()
1117 struct crypto_sync_skcipher *cts_tfm, *cbc_tfm; in rfc6803_encrypt_case() local
1147 cbc_tfm = crypto_alloc_sync_skcipher(gk5e->aux_cipher, 0, 0); in rfc6803_encrypt_case()
1148 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, cbc_tfm); in rfc6803_encrypt_case()
1149 err = crypto_sync_skcipher_setkey(cbc_tfm, Ke.data, Ke.len); in rfc6803_encrypt_case()
[all …]
Dgss_krb5_internal.h198 struct crypto_sync_skcipher *cbc_tfm, u32 offset,
202 struct crypto_sync_skcipher *cbc_tfm,
Dgss_krb5_crypto.c676 struct crypto_sync_skcipher *cbc_tfm, in krb5_cbc_cts_encrypt() argument
695 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cbc_tfm); in krb5_cbc_cts_encrypt()
704 skcipher_request_set_sync_tfm(req, cbc_tfm); in krb5_cbc_cts_encrypt()
741 struct crypto_sync_skcipher *cbc_tfm, in krb5_cbc_cts_decrypt() argument
758 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cbc_tfm); in krb5_cbc_cts_decrypt()
764 skcipher_request_set_sync_tfm(req, cbc_tfm); in krb5_cbc_cts_decrypt()