Home
last modified time | relevance | path

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

/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c530 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 …]
H A Dgss_krb5_crypto.c604 * @cts_tfm: CBC cipher with CTS in gss_krb5_cts_crypt()
620 int krb5_cbc_cts_encrypt(struct crypto_sync_skcipher *cts_tfm, in gss_krb5_cts_crypt()
629 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); in gss_krb5_cts_crypt()
662 err = gss_krb5_cts_crypt(cts_tfm, buf, offset + cbcbytes,
675 * @cts_tfm: CBC cipher with CTS in krb5_cbc_cts_encrypt() argument
685 int krb5_cbc_cts_decrypt(struct crypto_sync_skcipher *cts_tfm, in krb5_cbc_cts_encrypt()
693 blocksize = crypto_sync_skcipher_blocksize(cts_tfm); in krb5_cbc_cts_encrypt()
721 return gss_krb5_cts_crypt(cts_tfm, buf, cbcbytes, desc.iv, NULL, 0); in krb5_cbc_cts_encrypt()
740 krb5_cbc_cts_decrypt(struct crypto_sync_skcipher * cts_tfm,struct crypto_sync_skcipher * cbc_tfm,u32 offset,struct xdr_buf * buf) krb5_cbc_cts_decrypt() argument
H A Dgss_krb5_internal.h190 int krb5_cbc_cts_encrypt(struct crypto_sync_skcipher *cts_tfm,
194 int krb5_cbc_cts_decrypt(struct crypto_sync_skcipher *cts_tfm,