Home
last modified time | relevance | path

Searched refs:encdec (Results 1 – 2 of 2) sorted by relevance

/external/openssl/crypto/evp/
Devp_test.c140 int encdec) in test1() argument
147 (encdec == 1 ? "(encrypt)" : (encdec == 0 ? "(decrypt)" : "(encrypt/decrypt)"))); in test1()
161 if (encdec != 0) in test1()
200 if (encdec <= 0) in test1()
248 int encdec) in test_cipher() argument
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec); in test_cipher()
370 int encdec; in main() local
385 encdec = -1; in main()
387 encdec = atoi(sstrsep(&p,"\n")); in main()
396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) in main()
Devptests.txt62 # AES-bits-ECB:key::plaintext:ciphertext:encdec
79 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
97 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
129 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
188 # CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
217 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
238 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
276 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec