Name Description Size Coverage
auth.c system headers 45016 -
auth.h Our state 6565 -
b64.c Modified from: 7438 -
b64.h Base64 encodes blocks of this many bytes: 2560 -
context.c system headers 16909 -
context.h Forward declare 7862 -
context_priv.c system headers 3297 -
context_priv.h The part of the fragmented message we've seen so far 2725 -
dh.c system headers 14150 -
dh.h Which half of the secure session id should be shown in bold? 3578 -
instag.c system headers 6899 -
instag.h Most secure, based on: conv status, then fingerprint status, then most recent. 3148 -
Makefile.am 486 -
Makefile.in 22270 -
mem.c Memory allocation routines for libgcrypt. All of the session key information gets allocated through here, so we can wipe it out when it's free()d. We don't use the built-in secmem functions of libgcrypt because you need to declare a fixed amount of it when you start up. Because "secure" and "insecure" allocations from libgcrypt will get handled the same way (since we're not going to be running as root, and so won't actually have pinned memory), pretend all allocated memory (but just from libgcrypt) is requested secure, and wipe it on free(). 4817 -
mem.h Compare two memory blocks in time dependent on the length of the blocks, but not their contents. Returns 1 if they differ, 0 if they are the same. 1307 -
message.c system headers 65486 -
message.h These define the events used to indicate status of SMP to the UI 19942 -
privkey-t.h The list of privkeys currently being constructed, possibly in a background thread 1544 -
privkey.c system headers 25995 -
privkey.h The length of a string representing a human-readable version of a fingerprint (including the trailing NUL) 6841 -
proto.c OTR Protocol implementation. This file should be independent of gaim, so that it can be used to make other clients. 32286 -
proto.h If we ever see this sequence in a plaintext message, we'll assume the other side speaks OTR, and try to establish a connection. 6253 -
serial.h Write version and msg type into bufp 3070 -
sm.c system headers 32522 -
sm.h All is going fine so far 3070 -
tlv.c Make a single TLV, copying the supplied data 3021 -
tlv.h TLV types 2937 -
userstate.c system headers 2084 -
userstate.h Create a new OtrlUserState. Most clients will only need one of these. A OtrlUserState encapsulates the list of known fingerprints and the list of private keys; if you have separate files for these things for (say) different users, use different OtrlUserStates. If you've got only one user, with multiple accounts all stored together in the same fingerprint store and privkey store files, use just one OtrlUserState. 1901 -
version.h 1131 -