Searched refs:k_opad (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | sa2ul.c | 364 static void prepare_kiopad(u8 *k_ipad, u8 *k_opad, const u8 *key, u16 key_sz) in prepare_kiopad() argument 370 k_opad[i] = key[i] ^ 0x5c; in prepare_kiopad() 376 k_opad[i] = 0x5c; in prepare_kiopad() 420 u8 k_opad[SHA1_BLOCK_SIZE]; in sa_prepare_iopads() local 424 prepare_kiopad(k_ipad, k_opad, key, key_sz); in sa_prepare_iopads() 434 crypto_shash_update(shash, k_opad, block_size); in sa_prepare_iopads()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | sa2ul.c | 396 static void prepare_kopad(u8 *k_opad, const u8 *key, u16 key_sz) in prepare_kopad() argument 401 k_opad[i] = key[i] ^ 0x5c; in prepare_kopad() 405 k_opad[i] = 0x5c; in prepare_kopad()
|
Completed in 7 milliseconds