Страницы: 1
Комментарии в исходном коде смотрели?
Не стойте на месте - ищите новые тупики :)
Отсутствует
fate
http://mxr.mozilla.org/mozilla-central/ … b64d.c#735
/*
* Perform base64 decoding from an ascii string "inStr" to an Item.
* The length of the input must be provided as "inLen". The Item
* may be provided (as "outItemOpt"); you can also pass in a NULL
* and the Item will be allocated for you.
*
* In any case, the data within the Item will be allocated for you.
* All allocation will happen out of the passed-in "arenaOpt", if non-NULL.
* If "arenaOpt" is NULL, standard allocation (heap) will be used and
* you will want to free the result via SECITEM_FreeItem.
*
* Return value is NULL on error, the Item (allocated or provided) otherwise.
*/
SECItem *
NSSBase64_DecodeBuffer (PRArenaPool *arenaOpt, SECItem *outItemOpt,
const char *inStr, unsigned int inLen)
http://mxr.mozilla.org/mozilla-central/ … 1sdr.c#303
/*
* PK11SDR_Decrypt
* Decrypt a block of data produced by PK11SDR_Encrypt. The key used is identified
* by the keyid field within the input.
*/
SECStatus
PK11SDR_Decrypt(SECItem *data, SECItem *result, void *cx)
Если будет нужно найти еще что-то - ищите здесь: http://mxr.mozilla.org/mozilla-central/ … al&filter=
Отсутствует
Страницы: 1