Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dcrypto_internal-cipher.c33 } des3; member
83 des3_key_setup(key, &ctx->u.des3.key); in crypto_cipher_init()
84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init()
136 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
137 des3_encrypt(ctx->u.des3.cbc, &ctx->u.des3.key, in crypto_cipher_encrypt()
138 ctx->u.des3.cbc); in crypto_cipher_encrypt()
139 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt()
150 ctx->u.des3.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
200 des3_decrypt(crypt, &ctx->u.des3.key, plain); in crypto_cipher_decrypt()
202 plain[j] ^= ctx->u.des3.cbc[j]; in crypto_cipher_decrypt()
[all …]