• Home
  • Raw
  • Download

Lines Matching refs:blks

349 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {  in AES_ecb_encrypt_blks()  argument
352 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
356 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
359 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks()
395 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument
398 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
402 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
405 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks()
576 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument
580 blks[i] = _mm_xor_si128(blks[i], sched[0]); in AES_ecb_encrypt_blks()
583 blks[i] = _mm_aesenc_si128(blks[i], sched[j]); in AES_ecb_encrypt_blks()
585 blks[i] = _mm_aesenclast_si128(blks[i], sched[j]); in AES_ecb_encrypt_blks()
588 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
592 blks[i] = _mm_xor_si128(blks[i], sched[0]); in AES_ecb_decrypt_blks()
595 blks[i] = _mm_aesdec_si128(blks[i], sched[j]); in AES_ecb_decrypt_blks()
597 blks[i] = _mm_aesdeclast_si128(blks[i], sched[j]); in AES_ecb_decrypt_blks()