Home
last modified time | relevance | path

Searched refs:k_ipad (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/
H A Dsa2ul.c364 static void prepare_kiopad(u8 *k_ipad, u8 *k_opad, const u8 *key, u16 key_sz) in prepare_kiopad() argument
369 k_ipad[i] = key[i] ^ 0x36; in prepare_kiopad()
375 k_ipad[i] = 0x36; in prepare_kiopad()
419 u8 k_ipad[SHA1_BLOCK_SIZE]; in sa_prepare_iopads() local
424 prepare_kiopad(k_ipad, k_opad, key, key_sz); in sa_prepare_iopads()
430 crypto_shash_update(shash, k_ipad, block_size); in sa_prepare_iopads()
/kernel/linux/linux-6.6/drivers/crypto/
H A Dsa2ul.c384 static void prepare_kipad(u8 *k_ipad, const u8 *key, u16 key_sz) in prepare_kipad() argument
389 k_ipad[i] = key[i] ^ 0x36; in prepare_kipad()
393 k_ipad[i] = 0x36; in prepare_kipad()

Completed in 7 milliseconds