Searched refs:Nr (Results 1 - 17 of 17) sorted by relevance

/external/openssh/
H A Drijndael.h42 int Nr; /* key-length-dependent number of rounds */ member in struct:__anon9663
H A Drijndael.c727 static int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) {
813 rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits,
815 int Nr, i, j; local
819 Nr = have_encrypt;
822 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
825 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
832 for (i = 1; i < Nr; i++) {
855 return Nr;
858 static void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, cons argument
1039 rijndaelDecrypt(const u32 rk[ ], int Nr, const u8 ct[16], u8 pt[16]) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-internal-dec.c30 int Nr, i, j; local
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
35 if (Nr < 0)
36 return Nr;
38 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
46 for (i = 1; i < Nr; i++) {
56 return Nr;
75 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], argument
109 if (Nr > 10) {
112 if (Nr > 1
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
56 if (Nr > 10) {
59 if (Nr > 12) {
65 rk += Nr << 2;
69 /* Nr - 1 full rounds: */
70 r = Nr >> 1;
/external/wpa_supplicant_8/src/crypto/
H A Daes-internal-dec.c30 int Nr, i, j; local
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
35 if (Nr < 0)
36 return Nr;
38 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
46 for (i = 1; i < Nr; i++) {
56 return Nr;
75 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], argument
109 if (Nr > 10) {
112 if (Nr > 1
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
56 if (Nr > 10) {
59 if (Nr > 12) {
65 rk += Nr << 2;
69 /* Nr - 1 full rounds: */
70 r = Nr >> 1;
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-internal-dec.c30 int Nr, i, j; local
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
35 if (Nr < 0)
36 return Nr;
38 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
46 for (i = 1; i < Nr; i++) {
56 return Nr;
75 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], argument
109 if (Nr > 10) {
112 if (Nr > 1
[all...]
H A Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) argument
56 if (Nr > 10) {
59 if (Nr > 12) {
65 rk += Nr << 2;
69 /* Nr - 1 full rounds: */
70 r = Nr >> 1;
/external/openssl/crypto/bn/
H A Dbn_recp.c66 BN_init(&(recp->Nr));
89 BN_free(&(recp->Nr));
97 BN_zero(&(recp->Nr));
168 /* Nr := round(2^i / N) */
170 recp->shift=BN_reciprocal(&(recp->Nr),&(recp->N),
174 /* d := |round(round(m / 2^BN_num_bits(N)) * recp->Nr / 2^(i - BN_num_bits(N)))|
180 if (!BN_mul(b,a,&(recp->Nr),ctx)) goto err;
H A Dbn.h347 BIGNUM Nr; /* the reciprocal */ member in struct:bn_recp_ctx_st
/external/dropbear/libtomcrypt/src/ciphers/aes/
H A Daes.c141 skey->rijndael.Nr = 10 + ((keylen/8)-2)*2;
228 for (i = 1; i < skey->rijndael.Nr; i++) {
295 int Nr, r; local
301 Nr = skey->rijndael.Nr;
341 if (r == Nr-2) {
351 * Nr - 1 full rounds:
353 r = Nr >> 1;
474 int Nr, r; local
480 Nr
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Dcrypto-aes.js7 * 2D byte-array key schedule 'w' (Nr+1 x Nb bytes)
9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage
15 var Nr = w.length/Nb - 1; // no of rounds: 10/12/14 for 128/192/256-bit keys
22 for (var round=1; round<Nr; round++) {
31 state = AddRoundKey(state, w, Nr, Nb);
83 function KeyExpansion(key) { // generate Key Schedule (byte-array Nr+1 x Nb) from Key [§5.2]
86 var Nr = Nk + 6; // no of rounds: 10/12/14 for 128/192/256-bit keys
88 var w = new Array(Nb*(Nr+1));
96 for (var i=Nk; i<(Nb*(Nr+1)); i++) {
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Dcrypto-aes.js7 * 2D byte-array key schedule 'w' (Nr+1 x Nb bytes)
9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage
15 var Nr = w.length/Nb - 1; // no of rounds: 10/12/14 for 128/192/256-bit keys
22 for (var round=1; round<Nr; round++) {
31 state = AddRoundKey(state, w, Nr, Nb);
83 function KeyExpansion(key) { // generate Key Schedule (byte-array Nr+1 x Nb) from Key [§5.2]
86 var Nr = Nk + 6; // no of rounds: 10/12/14 for 128/192/256-bit keys
88 var w = new Array(Nb*(Nr+1));
96 for (var i=Nk; i<(Nb*(Nr+1)); i++) {
/external/libgsm/src/
H A Dlong_term.c921 word brp, drpp, Nr; local
923 /* Check the limits of Nr.
925 Nr = Ncr < 40 || Ncr > 120 ? S->nrp : Ncr;
926 S->nrp = Nr;
927 assert(Nr >= 40 && Nr <= 120);
939 drpp = GSM_MULT_R( brp, drp[ k - Nr ] );
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Daes.c904 int Nr = 10, i, j; local
910 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
918 for (i = 1; i < Nr; i++) {
934 const int Nr = 10; local
966 rk += Nr << 2;
970 /* Nr - 1 full rounds: */
971 r = Nr >> 1;
1002 const int Nr = 10; local
1034 rk += Nr << 2;
1038 /* Nr
[all...]
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_cipher.h36 int Nr; member in struct:rijndael_key
/external/openssl/include/openssl/
H A Dbn.h347 BIGNUM Nr; /* the reciprocal */ member in struct:bn_recp_ctx_st

Completed in 378 milliseconds