Searched refs:ctr32 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/crypto/ |
H A D | xctr.c | 41 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_final() local 43 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_final() 46 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_final() 57 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_segment() local 60 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_segment() 63 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_segment() 65 le32_add_cpu(&ctr32, 1); in crypto_xctr_crypt_segment() 84 __le32 ctr32 = cpu_to_le32(byte_ctr / XCTR_BLOCKSIZE + 1); in crypto_xctr_crypt_inplace() local 87 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_inplace() 90 crypto_xor(walk->iv, (u8 *)&ctr32, sizeof(ctr32)); in crypto_xctr_crypt_inplace() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | csr.c | 162 static RISCVException ctr32(CPURISCVState *env, int csrno) in ctr32() function 5002 [CSR_CYCLEH] = { "cycleh", ctr32, read_hpmcounterh }, 5003 [CSR_INSTRETH] = { "instreth", ctr32, read_hpmcounterh }, 5010 [CSR_TIMEH] = { "timeh", ctr32, read_timeh }, 5593 [CSR_HPMCOUNTER3H] = { "hpmcounter3h", ctr32, read_hpmcounterh }, 5594 [CSR_HPMCOUNTER4H] = { "hpmcounter4h", ctr32, read_hpmcounterh }, 5595 [CSR_HPMCOUNTER5H] = { "hpmcounter5h", ctr32, read_hpmcounterh }, 5596 [CSR_HPMCOUNTER6H] = { "hpmcounter6h", ctr32, read_hpmcounterh }, 5597 [CSR_HPMCOUNTER7H] = { "hpmcounter7h", ctr32, read_hpmcounterh }, 5598 [CSR_HPMCOUNTER8H] = { "hpmcounter8h", ctr32, read_hpmcounterh }, [all …]
|