Home
last modified time | relevance | path

Searched refs:rounds (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-9-stable/sys/crypto/aesni/
Daesni_wrap.c41 aesni_encrypt_cbc(int rounds, const void *key_schedule, size_t len, in aesni_encrypt_cbc() argument
50 aesni_enc(rounds - 1, key_schedule, from, to, ivp); in aesni_encrypt_cbc()
58 aesni_encrypt_ecb(int rounds, const void *key_schedule, size_t len, in aesni_encrypt_ecb() argument
65 aesni_enc(rounds - 1, key_schedule, from, to, NULL); in aesni_encrypt_ecb()
72 aesni_decrypt_ecb(int rounds, const void *key_schedule, size_t len, in aesni_decrypt_ecb() argument
79 aesni_dec(rounds - 1, key_schedule, from, to, NULL); in aesni_decrypt_ecb()
90 aesni_crypt_xts_block(int rounds, const void *key_schedule, uint64_t *tweak, in aesni_crypt_xts_block() argument
99 aesni_enc(rounds - 1, key_schedule, (uint8_t *)block, (uint8_t *)to, NULL); in aesni_crypt_xts_block()
101 aesni_dec(rounds - 1, key_schedule, (uint8_t *)block, (uint8_t *)to, NULL); in aesni_crypt_xts_block()
120 aesni_crypt_xts(int rounds, const void *data_schedule, in aesni_crypt_xts() argument
[all …]
Daesni.h61 int rounds; member
74 void aesni_enc(int rounds, const uint8_t *key_schedule,
77 void aesni_dec(int rounds, const uint8_t *key_schedule,
88 void aesni_encrypt_cbc(int rounds, const void *key_schedule, size_t len,
90 void aesni_decrypt_cbc(int rounds, const void *key_schedule, size_t len,
92 void aesni_encrypt_ecb(int rounds, const void *key_schedule, size_t len,
94 void aesni_decrypt_ecb(int rounds, const void *key_schedule, size_t len,
/freebsd-9-stable/crypto/openssl/crypto/rc5/
Drc5_skey.c69 int rounds) in RC5_32_set_key() argument
73 private_RC5_32_set_key(key, len, data, rounds); in RC5_32_set_key()
77 const unsigned char *data, int rounds) in private_RC5_32_set_key() argument
80 int rounds) in private_RC5_32_set_key()
86 if ((rounds != RC5_16_ROUNDS) && in private_RC5_32_set_key()
87 (rounds != RC5_12_ROUNDS) && (rounds != RC5_8_ROUNDS)) in private_RC5_32_set_key()
88 rounds = RC5_16_ROUNDS; in private_RC5_32_set_key()
90 key->rounds = rounds; in private_RC5_32_set_key()
108 t = (rounds + 1) * 2; in private_RC5_32_set_key()
Drc5.h91 int rounds; member
97 const unsigned char *data, int rounds);
100 int rounds);
Drc5_enc.c155 if (key->rounds == 12) { in RC5_32_encrypt()
160 } else if (key->rounds == 16) { in RC5_32_encrypt()
183 if (key->rounds == 16) { in RC5_32_decrypt()
193 } else if (key->rounds == 12) { in RC5_32_decrypt()
/freebsd-9-stable/crypto/openssl/crypto/evp/
De_rc5.c74 int rounds; /* number of rounds */ member
89 data(c)->rounds = RC5_12_ROUNDS; in rc5_ctrl()
93 *(int *)ptr = data(c)->rounds; in rc5_ctrl()
101 data(c)->rounds = arg; in rc5_ctrl()
118 key, data(ctx)->rounds); in r_32_12_16_init_key()
/freebsd-9-stable/crypto/openssl/crypto/sha/asm/
Dsha512-ia64.pl80 $rounds=80;
94 $rounds=64;
486 { .mii; mov ar.lc=$rounds-17
571 { .mmb; add Ktbl=-$SZ*$rounds,Ktbl
624 .size K256#,$SZ*$rounds
670 .size K512#,$SZ*$rounds
Dsha512-x86_64.pl63 $rounds=80;
75 $rounds=64;
233 cmp \$$rounds,$round
/freebsd-9-stable/sys/netinet/
Dsctp_ss_functions.c534 strq->ss_params.fb.rounds = -1; in sctp_ss_fb_clear()
553 strq->ss_params.fb.rounds = with_strq->ss_params.fb.rounds; in sctp_ss_fb_init_stream()
555 strq->ss_params.fb.rounds = -1; in sctp_ss_fb_init_stream()
571 if (strq->ss_params.fb.rounds < 0) in sctp_ss_fb_add()
572 strq->ss_params.fb.rounds = TAILQ_FIRST(&strq->outqueue)->length; in sctp_ss_fb_add()
636 if ((strqt->ss_params.fb.rounds >= 0) && (strq == NULL || in sctp_ss_fb_select()
637 strqt->ss_params.fb.rounds < strq->ss_params.fb.rounds)) { in sctp_ss_fb_select()
658 subtract = strq->ss_params.fb.rounds; in sctp_ss_fb_scheduled()
660 strqt->ss_params.fb.rounds -= subtract; in sctp_ss_fb_scheduled()
661 if (strqt->ss_params.fb.rounds < 0) in sctp_ss_fb_scheduled()
[all …]
/freebsd-9-stable/crypto/openssl/crypto/aes/
Daes_core.c650 key->rounds = 10; in AES_set_encrypt_key()
652 key->rounds = 12; in AES_set_encrypt_key()
654 key->rounds = 14; in AES_set_encrypt_key()
752 for (i = 0, j = 4*(key->rounds); i < j; i += 4, j -= 4) { in AES_set_decrypt_key()
759 for (i = 1; i < (key->rounds); i++) { in AES_set_decrypt_key()
856 if (key->rounds > 10) { in AES_encrypt()
867 if (key->rounds > 12) { in AES_encrypt()
880 rk += key->rounds << 2; in AES_encrypt()
885 r = key->rounds >> 1; in AES_encrypt()
1048 if (key->rounds > 10) { in AES_decrypt()
[all …]
Daes.h86 int rounds; member
/freebsd-9-stable/lib/libcrypt/
Dcrypt-sha256.c69 size_t salt_len, key_len, cnt, rounds; in crypt_sha256_r() local
78 rounds = ROUNDS_DEFAULT; in crypt_sha256_r()
94 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in crypt_sha256_r()
183 for (cnt = 0; cnt < rounds; ++cnt) { in crypt_sha256_r()
218 sha256_rounds_prefix, rounds); in crypt_sha256_r()
Dcrypt-sha512.c69 size_t salt_len, key_len, cnt, rounds; in crypt_sha512_r() local
78 rounds = ROUNDS_DEFAULT; in crypt_sha512_r()
94 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in crypt_sha512_r()
183 for (cnt = 0; cnt < rounds; ++cnt) { in crypt_sha512_r()
218 sha512_rounds_prefix, rounds); in crypt_sha512_r()
/freebsd-9-stable/secure/lib/libcrypt/
Dcrypt-blowfish.c143 u_int32_t rounds, i, k; in crypt_blowfish() local
155 rounds = 1U << logr; in crypt_blowfish()
195 rounds = 1U << logr; in crypt_blowfish()
224 for (k = 0; k < rounds; k++) { in crypt_blowfish()
/freebsd-9-stable/crypto/openssh/openbsd-compat/
Dbcrypt_pbkdf.c107 u_int8_t *key, size_t keylen, unsigned int rounds) in bcrypt_pbkdf() argument
118 if (rounds < 1) in bcrypt_pbkdf()
146 for (i = 1; i < rounds; i++) { in bcrypt_pbkdf()
/freebsd-9-stable/sys/i386/i386/
Didentcpu.c1337 u_int rounds, regnum; in print_INTEL_info() local
1341 rounds = 0; in print_INTEL_info()
1344 if (rounds == 0 && (rounds = (regs[0] & 0xff)) == 0) in print_INTEL_info()
1356 } while (--rounds > 0); in print_INTEL_info()
/freebsd-9-stable/crypto/openssh/
Dauthfile.c96 const char *comment, const char *ciphername, int rounds) in key_private_to_blob2() argument
107 if (rounds <= 0) in key_private_to_blob2()
108 rounds = DEFAULT_ROUNDS; in key_private_to_blob2()
128 salt, SALT_LEN, key, keylen + ivlen, rounds) < 0) in key_private_to_blob2()
131 buffer_put_int(&kdf, rounds); in key_private_to_blob2()
208 u_int keylen = 0, ivlen, blocksize, slen, klen, len, rounds, nkeys; in key_parse_private2() local
343 if (buffer_get_int_ret(&rounds, &kdf) < 0) { in key_parse_private2()
348 key, keylen + ivlen, rounds) < 0) { in key_parse_private2()
DPROTOCOL.key26 uint32 rounds
/freebsd-9-stable/sys/gnu/fs/reiserfs/
Dreiserfs_hashes.c36 #define TEACORE(rounds) \ argument
42 n = rounds; \
/freebsd-9-stable/sys/opencrypto/
Dcast.h16 int rounds; /* Number of rounds to use, 12 or 16 */ member
Dcast.c65 if (key->rounds > 12) { in cast_encrypt()
98 if (key->rounds > 12) { in cast_decrypt()
138 key->rounds = (keybytes <= 10 ? 12 : 16); in cast_setkey()
/freebsd-9-stable/crypto/openssl/crypto/rc2/
Drrc2.doc99 The cipher has 16 full rounds, each divided into 4 subrounds. Two of the full
100 rounds perform an additional transformation on the data. Note that the
111 In addition the fifth and eleventh rounds add the contents of the S-box indexed
134 In addition the fifth and eleventh rounds subtract the contents of the S-box
/freebsd-9-stable/contrib/file/magic/Magdir/
Dkeepass19 >>120 lelong >0 \b, %d key transformation rounds
/freebsd-9-stable/crypto/openssl/crypto/des/asm/
Ddes_enc.m4237 ld [out2+284], local5 ! 0x0000FC00 used in the rounds
248 ld [out2+284], local5 ! 0x0000FC00 used in the rounds
261 ! The logic used in the DES rounds is the same as in the C code,
268 ! In this version we do two rounds in a loop repeated 7 times
269 ! and two rounds seperately.
284 ! left and right are kept in the same register in all rounds, meaning
285 ! that after the 16 rounds the result for right is in the register
433 ! two rounds more:
491 ! next round (two rounds more)
1498 ! rounds inlined for alignment purposes
[all …]
/freebsd-9-stable/crypto/openssl/doc/crypto/
DEVP_EncryptInit.pod234 and set. Currently only the RC2 effective key length and the number of rounds of
338 cipher with an additional "number of rounds" parameter. By default the key length is set to 128
339 bits and 12 rounds.
374 For RC5 the number of rounds can currently only be set to 8, 12 or 16. This is
387 Get the number of rounds used in RC5:
397 Set the number of rounds used in RC5:

123