Searched refs:invmap (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/include/security_comcryption/
H A DcomcryptPriv.h132 unsigned char *invmap; member in struct:__anon3654
304 unsigned char *invmap);
H A Dcomcryption.c80 cpriv->invmap = (unsigned char *)ascMalloc(256);
81 if((cpriv->map == NULL) || (cpriv->invmap == NULL)) {
180 key_perm(key, keyLen, cpriv->map, cpriv->invmap);
197 if(cpriv->invmap != NULL) {
198 ascFree(cpriv->invmap);
1199 * cook up a byte or two of plainText from code word and invmap[]
1205 *plainText++ = cpriv->invmap[(codeWord >> 8) & 0xff];
1219 *plainText++ = cpriv->invmap[(codeWord) & 0xff];
H A DcomcryptPriv.c60 unsigned char *invmap)
77 invmap[map[j]] = j;
56 key_perm( const unsigned char *key, int keybytes, unsigned char *map, unsigned char *invmap) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_comcryption/lib/
H A DcomcryptPriv.h132 unsigned char *invmap; member in struct:__anon4366
304 unsigned char *invmap);
H A Dcomcryption.c80 cpriv->invmap = (unsigned char *)ascMalloc(256);
81 if((cpriv->map == NULL) || (cpriv->invmap == NULL)) {
180 key_perm(key, keyLen, cpriv->map, cpriv->invmap);
197 if(cpriv->invmap != NULL) {
198 ascFree(cpriv->invmap);
1199 * cook up a byte or two of plainText from code word and invmap[]
1205 *plainText++ = cpriv->invmap[(codeWord >> 8) & 0xff];
1219 *plainText++ = cpriv->invmap[(codeWord) & 0xff];
H A DcomcryptPriv.c60 unsigned char *invmap)
77 invmap[map[j]] = j;
56 key_perm( const unsigned char *key, int keybytes, unsigned char *map, unsigned char *invmap) argument

Completed in 125 milliseconds