Lines Matching refs:blks
348 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
351 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key);
355 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
358 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key);
394 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
397 AES_encrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key);
401 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
404 AES_decrypt((unsigned char*)(blks + nblks), (unsigned char*)(blks + nblks), key);
575 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
579 blks[i] = _mm_xor_si128(blks[i], sched[0]);
582 blks[i] = _mm_aesenc_si128(blks[i], sched[j]);
584 blks[i] = _mm_aesenclast_si128(blks[i], sched[j]);
587 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) {
591 blks[i] = _mm_xor_si128(blks[i], sched[0]);
594 blks[i] = _mm_aesdec_si128(blks[i], sched[j]);
596 blks[i] = _mm_aesdeclast_si128(blks[i], sched[j]);