Searched refs:DIR_ENCRYPT (Results 1 – 3 of 3) sorted by relevance
17 #define DIR_ENCRYPT 0 /* Are we encrpyting? */ macro
44 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) { in rijndael_makeKey()61 if (direction == DIR_ENCRYPT) { in rijndael_makeKey()271 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) { in rijndael_blockDecrypt()372 key->direction == DIR_ENCRYPT) { in rijndael_padDecrypt()
1048 if (rijndael_makeKey(&kdc->kdc_ki, DIR_ENCRYPT, 256, key) <= 0) in kerneldumpcrypto_create()