security/nss/lib/freebl/hmacct.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/freebl/hmacct.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef _HMACCT_H_
     1.9 +#define _HMACCT_H_
    1.10 +
    1.11 +SEC_BEGIN_PROTOS
    1.12 +
    1.13 +extern SECStatus HMAC_ConstantTime(
    1.14 +    unsigned char *result,
    1.15 +    unsigned int *resultLen,
    1.16 +    unsigned int maxResultLen,
    1.17 +    const SECHashObject *hashObj,
    1.18 +    const unsigned char *secret,
    1.19 +    unsigned int secretLen,
    1.20 +    const unsigned char *header,
    1.21 +    unsigned int headerLen,
    1.22 +    const unsigned char *body,
    1.23 +    unsigned int bodyLen,
    1.24 +    unsigned int bodyTotalLen);
    1.25 +
    1.26 +extern SECStatus SSLv3_MAC_ConstantTime(
    1.27 +    unsigned char *result,
    1.28 +    unsigned int *resultLen,
    1.29 +    unsigned int maxResultLen,
    1.30 +    const SECHashObject *hashObj,
    1.31 +    const unsigned char *secret,
    1.32 +    unsigned int secretLen,
    1.33 +    const unsigned char *header,
    1.34 +    unsigned int headerLen,
    1.35 +    const unsigned char *body,
    1.36 +    unsigned int bodyLen,
    1.37 +    unsigned int bodyTotalLen);
    1.38 +
    1.39 +SEC_END_PROTOS
    1.40 +
    1.41 +#endif

mercurial