D | mtpz.c | 251 void mtpz_encryption_inv_mix_columns(unsigned char *expanded, int offset, int rounds); 252 … mtpz_encryption_decrypt_custom(unsigned char *data, unsigned char *seed, unsigned char *expanded); 253 … mtpz_encryption_encrypt_custom(unsigned char *data, unsigned char *seed, unsigned char *expanded); 554 unsigned char *expanded = NULL; in mtpz_encryption_cipher() local 561 expanded = mtpz_encryption_expand_key((unsigned char *)MTPZ_ENCRYPTION_KEY, 16, 10, &exp_len); in mtpz_encryption_cipher() 568 mtpz_encryption_encrypt_custom(data + offset, NULL, expanded); in mtpz_encryption_cipher() 570 mtpz_encryption_decrypt_custom(data + offset, NULL, expanded); in mtpz_encryption_cipher() 585 unsigned char *expanded = mtpz_encryption_expand_key(key, key_len, len, &exp_len); in mtpz_encryption_cipher_advanced() local 613 mtpz_encryption_encrypt_custom(data + offset, out, expanded); in mtpz_encryption_cipher_advanced() 622 mtpz_encryption_decrypt_custom(data + offset, out, expanded); in mtpz_encryption_cipher_advanced() [all …]
|