1##----------------------------------------------------------------------##
2#
3# Errors to suppress by default with OpenSSL
4#
5# Format of this file is:
6# {
7#     name_of_suppression
8#     kind: one of Param Value1 Value2 Value4 Value8
9#                   Free Addr1 Addr2 Addr4 Addr8
10#                   Cond (previously known as Value0)
11#     (if Param: name of system call param, if Free: name of free-ing fn)
12#     caller0 name, or /name/of/so/file.so
13#     caller1 name, or ditto
14#     (optionally: caller2 name)
15#     (optionally: caller3 name)
16#  }
17
18##----------------------------------------------------------------------##
19{
20   OpenSSL BN_*(Cond)
21   Memcheck:Cond
22   fun:BN_*
23}
24
25{
26   OpenSSL BN_*(Value4)
27   Memcheck:Value4
28   fun:BN_*
29}
30
31{
32   OpenSSL bn_*(Cond)
33   Memcheck:Cond
34   fun:bn_*
35}
36
37{
38   OpenSSL bn_*(Value4)
39   Memcheck:Value4
40   fun:bn_*
41}
42
43{
44   OpenSSL AES_encrypt(Value4)
45   Memcheck:Value4
46   fun:AES_encrypt
47   fun:AES_cbc_encrypt
48}
49
50{
51   OpenSSL DES_encrypt*(Value4)
52   Memcheck:Value4
53   fun:DES_encrypt2
54   fun:DES_encrypt3
55}
56
57{
58   OpenSSL RSA_padding_add_PKCS1_type_2(Cond)
59   Memcheck:Cond
60   ...
61   fun:RSA_padding_add_PKCS1_type_2
62   fun:RSA_eay_public_encrypt
63}
64
65{
66   OpenSSL BN_*(Value8)
67   Memcheck:Value8
68   fun:BN_*
69}
70{
71   libcrypto(Value8)
72   Memcheck:Value8
73   obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
74}
75{
76   libcrypto(Cond)
77   Memcheck:Cond
78   obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
79}
80{
81   Config
82   Memcheck:Leak
83   ...
84   fun:OPENSSL_config
85}
86