Home
last modified time | relevance | path

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

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_crypto.c212 generate_subkey(struct crypto_cipher *tfm, uint8_t *k1, uint8_t *k2) in generate_subkey() argument
224 crypto_cipher_encrypt_one(tfm, l, const_zero); in generate_subkey()
324 struct crypto_cipher *tfm; in qdf_crypto_aes_128_cmac() local
330 tfm = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC); in qdf_crypto_aes_128_cmac()
331 if (IS_ERR(tfm)) { in qdf_crypto_aes_128_cmac()
332 ret = PTR_ERR(tfm); in qdf_crypto_aes_128_cmac()
337 ret = crypto_cipher_setkey(tfm, key, AES_KEYSIZE_128); in qdf_crypto_aes_128_cmac()
340 crypto_free_cipher(tfm); in qdf_crypto_aes_128_cmac()
344 generate_subkey(tfm, k1, k2); in qdf_crypto_aes_128_cmac()
370 crypto_cipher_encrypt_one(tfm, x, y); in qdf_crypto_aes_128_cmac()
[all …]