Lines Matching refs:blks
360 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument
363 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
367 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
370 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks()
406 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument
409 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_encrypt_blks()
413 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
416 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key); in AES_ecb_decrypt_blks()
587 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks() argument
591 blks[i] = _mm_xor_si128(blks[i], sched[0]); in AES_ecb_encrypt_blks()
594 blks[i] = _mm_aesenc_si128(blks[i], sched[j]); in AES_ecb_encrypt_blks()
596 blks[i] = _mm_aesenclast_si128(blks[i], sched[j]); in AES_ecb_encrypt_blks()
599 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks() argument
603 blks[i] = _mm_xor_si128(blks[i], sched[0]); in AES_ecb_decrypt_blks()
606 blks[i] = _mm_aesdec_si128(blks[i], sched[j]); in AES_ecb_decrypt_blks()
608 blks[i] = _mm_aesdeclast_si128(blks[i], sched[j]); in AES_ecb_decrypt_blks()