Searched defs:num_rounds (Results 1 - 25 of 28) sorted by relevance

12

/external/dropbear/libtomcrypt/src/modes/ecb/
H A Decb_start.c26 @param num_rounds Number of rounds in the cipher desired (0 for default)
30 int ecb_start(int cipher, const unsigned char *key, int keylen, int num_rounds, symmetric_ECB *ecb) argument
41 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ecb->key);
/external/dropbear/libtomcrypt/src/modes/cbc/
H A Dcbc_start.c26 @param num_rounds Number of rounds in the cipher desired (0 for default)
31 int keylen, int num_rounds, symmetric_CBC *cbc)
45 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cbc->key)) != CRYPT_OK) {
30 cbc_start(int cipher, const unsigned char *IV, const unsigned char *key, int keylen, int num_rounds, symmetric_CBC *cbc) argument
/external/dropbear/libtomcrypt/src/modes/cfb/
H A Dcfb_start.c27 @param num_rounds Number of rounds in the cipher desired (0 for default)
32 int keylen, int num_rounds, symmetric_CFB *cfb)
52 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) {
31 cfb_start(int cipher, const unsigned char *IV, const unsigned char *key, int keylen, int num_rounds, symmetric_CFB *cfb) argument
/external/dropbear/libtomcrypt/src/modes/ctr/
H A Dctr_start.c27 @param num_rounds Number of rounds in the cipher desired (0 for default)
35 int num_rounds, int ctr_mode,
50 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ctr->key)) != CRYPT_OK) {
32 ctr_start( int cipher, const unsigned char *IV, const unsigned char *key, int keylen, int num_rounds, int ctr_mode, symmetric_CTR *ctr) argument
/external/dropbear/libtomcrypt/src/modes/ofb/
H A Dofb_start.c27 @param num_rounds Number of rounds in the cipher desired (0 for default)
32 int keylen, int num_rounds, symmetric_OFB *ofb)
53 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ofb->key);
31 ofb_start(int cipher, const unsigned char *IV, const unsigned char *key, int keylen, int num_rounds, symmetric_OFB *ofb) argument
/external/dropbear/libtomcrypt/src/modes/f8/
H A Df8_start.c29 @param num_rounds Number of rounds in the cipher desired (0 for default)
36 int num_rounds, symmetric_F8 *f8)
75 if ((err = cipher_descriptor[cipher].setup(tkey, keylen, num_rounds, &f8->key)) != CRYPT_OK) {
91 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &f8->key);
33 f8_start( int cipher, const unsigned char *IV, const unsigned char *key, int keylen, const unsigned char *salt_key, int skeylen, int num_rounds, symmetric_F8 *f8) argument
/external/dropbear/libtomcrypt/src/modes/lrw/
H A Dlrw_start.c27 @param num_rounds The number of rounds for the cipher (0 == default)
35 int num_rounds,
64 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &lrw->key)) != CRYPT_OK) {
31 lrw_start( int cipher, const unsigned char *IV, const unsigned char *key, int keylen, const unsigned char *tweak, int num_rounds, symmetric_LRW *lrw) argument
/external/dropbear/libtomcrypt/src/ciphers/
H A Dxtea.c34 int xtea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
46 if (num_rounds != 0 && num_rounds != 32) {
H A Drc2.c66 @param num_rounds The number of rounds desired (0 for default)
70 int rc2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
84 if (num_rounds != 0 && num_rounds != 16) {
H A Dblowfish.c304 @param num_rounds The number of rounds desired (0 for default)
308 int blowfish_setup(const unsigned char *key, int keylen, int num_rounds, argument
323 if (num_rounds != 0 && num_rounds != 16) {
H A Dkasumi.c195 int kasumi_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
208 if (num_rounds != 0 && num_rounds != 8) {
H A Dkhazad.c592 @param num_rounds The number of rounds desired (0 for default)
596 int khazad_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
607 if (num_rounds != 8 && num_rounds != 0) {
H A Dkseed.c198 @param num_rounds The number of rounds desired (0 for default)
202 int kseed_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
211 if (num_rounds != 16 && num_rounds != 0) {
H A Dnoekeon.c71 @param num_rounds The number of rounds desired (0 for default)
75 int noekeon_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
86 if (num_rounds != 16 && num_rounds != 0) {
H A Drc5.c49 @param num_rounds The number of rounds desired (0 for default)
54 static int _rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
56 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
65 if (num_rounds == 0) {
66 num_rounds = rc5_desc.default_rounds;
69 if (num_rounds < 12 || num_rounds > 24) {
78 skey->rc5.rounds = num_rounds;
96 t = (ulong32)(2 * (num_rounds + 1));
112 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_ke argument
[all...]
H A Drc6.c46 @param num_rounds The number of rounds desired (0 for default)
51 static int _rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
53 int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
62 if (num_rounds != 0 && num_rounds != 20) {
107 int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
110 x = _rc6_setup(key, keylen, num_rounds, skey);
H A Dskipjack.c63 @param num_rounds The number of rounds desired (0 for default)
67 int skipjack_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
78 if (num_rounds != 32 && num_rounds != 0) {
H A Danubis.c890 @param num_rounds The number of rounds desired (0 for default)
895 static int _anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
897 int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
925 if (num_rounds != 0 && num_rounds != skey->anubis.R) {
1029 int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
1032 err = _anubis_setup(key, keylen, num_rounds, skey);
H A Dcast5.c404 @param num_rounds The number of rounds desired (0 for default)
409 static int _cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
411 int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
421 if (num_rounds != 12 && num_rounds != 16 && num_rounds != 0) {
425 if (num_rounds == 12 && keylen > 10) {
493 int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
496 z = _cast5_setup(key, keylen, num_rounds, skey);
H A Ddes.c1528 @param num_rounds The number of rounds desired (0 for default)
1532 int des_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
1537 if (num_rounds != 0 && num_rounds != 16) {
1556 @param num_rounds The number of rounds desired (0 for default)
1560 int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
1565 if(num_rounds != 0 && num_rounds != 16) {
/external/dropbear/libtomcrypt/src/ciphers/aes/
H A Daes.c119 @param num_rounds The number of rounds desired (0 for default)
123 int SETUP(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
137 if (num_rounds != 0 && num_rounds != (10 + ((keylen/8)-2)*2)) {
/external/dropbear/libtomcrypt/src/ciphers/safer/
H A Dsaferp.c212 @param num_rounds The number of rounds desired (0 for default)
216 int saferp_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
233 if (num_rounds != 0 && num_rounds != rounds[(keylen/8)-2]) {
/external/dropbear/libtomcrypt/src/ciphers/twofish/
H A Dtwofish.c341 @param num_rounds The number of rounds desired (0 for default)
346 static int _twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
348 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
362 if (num_rounds != 16 && num_rounds != 0) {
456 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) argument
459 x = _twofish_setup(key, keylen, num_rounds, skey);
/external/wpa_supplicant/
H A Deap_i.h336 int num_rounds; member in struct:eap_sm
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_i.h332 int num_rounds; member in struct:eap_sm

Completed in 108 milliseconds

12