MCPcopy Create free account

hub / github.com/B-Con/crypto-algorithms / functions

Functions81 in github.com/B-Con/crypto-algorithms

↓ 34 callersFunctionAddRoundKey
Performs the AddRoundKey step. Each round has its own pre-generated 16-byte key in the form of 4 integers (the "w" array). Each integer is XOR'd by on
aes.c:592
↓ 16 callersFunctionShiftRows
Performs the ShiftRows step. All rows are shifted cylindrically to the left.
aes.c:686
↓ 16 callersFunctionSubBytes
Performs the SubBytes step. All bytes in the state are substituted with a pre-calculated value from a lookup table.
aes.c:641
↓ 14 callersFunctionInvShiftRows
All rows are shifted cylindrically to the right.
aes.c:712
↓ 14 callersFunctionInvSubBytes
aes.c:661
↓ 13 callersFunctionInvMixColumns
aes.c:835
↓ 13 callersFunctionMixColumns
Performs the MixColums step. The state is multiplied by itself using matrix multiplication in a Galios Field 2^8. All multiplication is pre-computed i
aes.c:745
↓ 12 callersFunctionrevchar
FUNCTION DEFINITIONS ***********************/
base64.c:21
↓ 10 callersFunctiondes_key_setup
des.c:193
↓ 7 callersFunctiondes_crypt
des.c:233
↓ 5 callersFunctionaes_encrypt
aes.c:929
↓ 5 callersFunctionaes_key_setup
Performs the action of generating the keys that will be used in every round of encryption. "key" is the user-supplied input key, "w" is the output key
aes.c:555
↓ 5 callersFunctionblowfish_encrypt
FUNCTION DEFINITIONS ***********************/
blowfish.c:167
↓ 5 callersFunctionxor_buf
FUNCTION DEFINITIONS ***********************/ XORs the in and out buffers, storing the result in out. Length is in bytes.
aes.c:223
↓ 4 callersFunctionaes_encrypt_ctr
Performs the encryption in-place, the input and output buffers may be the same. Input may be an arbitrary length (in bytes).
aes.c:322
↓ 4 callersFunctionmd2_update
md2.c:77
↓ 4 callersFunctionmd5_update
md5.c:134
↓ 4 callersFunctionthree_des_crypt
des.c:264
↓ 4 callersFunctionthree_des_key_setup
des.c:250
↓ 3 callersFunctionaes_decrypt_ccm
plaintext_len = ciphertext_len - mac_len Needs a flag for whether the MAC matches.
aes.c:418
↓ 3 callersFunctionaes_decrypt_ctr
aes.c:345
↓ 3 callersFunctionaes_encrypt_ccm
* AES - CCM *******************/ out_len = payload_len + assoc_len
aes.c:355
↓ 3 callersFunctionblowfish_decrypt
blowfish.c:203
↓ 3 callersFunctionblowfish_key_setup
blowfish.c:239
↓ 3 callersFunctionincrement_iv
* AES - CTR *******************/
aes.c:308
↓ 3 callersFunctionmd2_final
md2.c:91
↓ 3 callersFunctionmd2_init
md2.c:66
↓ 3 callersFunctionmd2_transform
FUNCTION DEFINITIONS ***********************/
md2.c:40
↓ 3 callersFunctionmd5_final
md5.c:149
↓ 3 callersFunctionmd5_init
md5.c:124
↓ 3 callersFunctionmd5_transform
FUNCTION DEFINITIONS ***********************/
md5.c:35
↓ 3 callersFunctionsha1_final
sha1.c:108
↓ 3 callersFunctionsha1_init
sha1.c:78
↓ 3 callersFunctionsha1_transform
FUNCTION DEFINITIONS ***********************/
sha1.c:21
↓ 3 callersFunctionsha1_update
sha1.c:93
↓ 3 callersFunctionsha256_final
sha256.c:114
↓ 3 callersFunctionsha256_init
sha256.c:85
↓ 3 callersFunctionsha256_transform
FUNCTION DEFINITIONS ***********************/
sha256.c:44
↓ 3 callersFunctionsha256_update
sha256.c:99
↓ 2 callersFunctionSubWord
Substitutes a word using the AES S-Box.
aes.c:541
↓ 2 callersFunctionaes_decrypt
aes.c:1002
↓ 2 callersFunctionaes_encrypt_cbc_mac
aes.c:257
↓ 2 callersFunctionbase64_decode
base64.c:88
↓ 2 callersFunctionbase64_encode
base64.c:37
↓ 2 callersFunctionccm_format_assoc_data
aes.c:506
↓ 2 callersFunctionccm_format_payload_data
aes.c:520
↓ 2 callersFunctionccm_prepare_first_ctr_blk
Creates the first counter block. First byte is flags, then the nonce, then the incremented part.
aes.c:486
↓ 2 callersFunctionccm_prepare_first_format_blk
aes.c:493
↓ 2 callersFunctionf
des.c:135
↓ 2 callersFunctionrot13
FUNCTION DEFINITIONS ***********************/
rot-13.c:17
↓ 1 callersFunctionIP
FUNCTION DEFINITIONS ***********************/ Initial (Inv)Permutation step
des.c:79
↓ 1 callersFunctionInvIP
des.c:100
↓ 1 callersFunctionaes_cbc_test
aes_test.c:73
↓ 1 callersFunctionaes_ccm_test
aes_test.c:165
↓ 1 callersFunctionaes_ctr_test
aes_test.c:121
↓ 1 callersFunctionaes_decrypt_cbc
aes.c:282
↓ 1 callersFunctionaes_ecb_test
aes_test.c:29
↓ 1 callersFunctionaes_encrypt_cbc
* AES - CBC *******************/
aes.c:234
↓ 1 callersFunctionaes_test
aes_test.c:268
↓ 1 callersFunctionarcfour_generate_stream
This does not hold state between calls. It always generates the stream starting from the first output byte.
arcfour.c:33
↓ 1 callersFunctionarcfour_key_setup
FUNCTION DEFINITIONS ***********************/
arcfour.c:16
↓ 1 callersFunctionbase64_test
FUNCTION DEFINITIONS ***********************/
base64_test.c:20
↓ 1 callersFunctionblowfish_test
FUNCTION DEFINITIONS ***********************/
blowfish_test.c:20
↓ 1 callersFunctiondes_test
FUNCTION DEFINITIONS ***********************/
des_test.c:20
↓ 1 callersFunctionmd2_test
FUNCTION DEFINITIONS ***********************/
md2_test.c:21
↓ 1 callersFunctionmd5_test
FUNCTION DEFINITIONS ***********************/
md5_test.c:21
↓ 1 callersFunctionrc4_test
FUNCTION DEFINITIONS ***********************/
arcfour_test.c:20
↓ 1 callersFunctionrot13_test
FUNCTION DEFINITIONS ***********************/
rot-13_test.c:20
↓ 1 callersFunctionsha1_test
FUNCTION DEFINITIONS ***********************/
sha1_test.c:21
↓ 1 callersFunctionsha256_test
FUNCTION DEFINITIONS ***********************/
sha256_test.c:21
Functionmain
des_test.c:78
Functionmain
sha256_test.c:56
Functionmain
arcfour_test.c:42
Functionmain
sha1_test.c:53
Functionmain
md2_test.c:55
Functionmain
base64_test.c:49
Functionmain
md5_test.c:55
Functionmain
aes_test.c:280
Functionmain
rot-13_test.c:39
Functionmain
blowfish_test.c:63
Functionprint_hex
FUNCTION DEFINITIONS ***********************/
aes_test.c:21