Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2transport.c86 server->secmech.cmacaes = crypto_alloc_shash("cmac(aes)", 0, 0); in smb3_crypto_shash_allocate()
87 if (IS_ERR(server->secmech.cmacaes)) { in smb3_crypto_shash_allocate()
93 rc = PTR_ERR(server->secmech.cmacaes); in smb3_crypto_shash_allocate()
94 server->secmech.cmacaes = NULL; in smb3_crypto_shash_allocate()
99 crypto_shash_descsize(server->secmech.cmacaes); in smb3_crypto_shash_allocate()
106 crypto_free_shash(server->secmech.cmacaes); in smb3_crypto_shash_allocate()
108 server->secmech.cmacaes = NULL; in smb3_crypto_shash_allocate()
111 server->secmech.sdesccmacaes->shash.tfm = server->secmech.cmacaes; in smb3_crypto_shash_allocate()
372 rc = crypto_shash_setkey(server->secmech.cmacaes, in smb3_calc_signature()
Dcifsencrypt.c842 if (server->secmech.cmacaes) { in cifs_crypto_shash_release()
843 crypto_free_shash(server->secmech.cmacaes); in cifs_crypto_shash_release()
844 server->secmech.cmacaes = NULL; in cifs_crypto_shash_release()
Dcifsglob.h120 struct crypto_shash *cmacaes; /* block-cipher based MAC function */ member